feat: build docker image in CI

This commit is contained in:
Florent Chehab 2020-05-07 22:14:29 +02:00
parent c675ed398e
commit dafb9f4646
No known key found for this signature in database
GPG Key ID: 9A0CE018889EA246
1 changed files with 18 additions and 0 deletions

18
.github/workflows/build-docker.yml vendored Normal file
View File

@ -0,0 +1,18 @@
# This workflow will do clean build of the docker image
name: Docker Image CI (also tests build)
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag rofl256/whiteboard:$(date +%s)