Adds dockerci

This commit is contained in:
soneill
2021-09-16 18:10:39 +12:00
parent 906114519d
commit 589ab31ff6
3 changed files with 50 additions and 0 deletions

27
.github/workflows/docker-image.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Docker Image CI
on:
push:
branches:
- master
pull_request:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
- cron: "0 4 * * 0-6"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Build the Docker image
run: docker build . --file Dockerfile --tag goryn-pathfinder:$(date +%s)