Skip to content

Commit

Permalink
Enable GH Action based CI for Dockerfiles
Browse files Browse the repository at this point in the history
Enable GH Action based CI for Dockerfiles
  • Loading branch information
ivanporty authored Jan 16, 2022
2 parents 898cc11 + f84bec0 commit 9c7e2c4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Dockerfile CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "12 0 * * *"
workflow_dispatch:

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file dockerfile/helloworld/Dockerfile --tag helloworld:$(date +%s)

0 comments on commit 9c7e2c4

Please sign in to comment.