Build docker image on every push

Release docker image to github
This commit is contained in:
Christoph Petrausch
2020-04-22 00:29:17 +02:00
committed by Christoph Petrausch
parent c5f6fda731
commit f0d19e17ab
4 changed files with 34 additions and 4 deletions
+17
View File
@@ -0,0 +1,17 @@
name: Docker Image CI
on:
push:
branches: ["master"]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)