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

20
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
# Enable version updates for Docker
- package-ecosystem: "composer"
# Look for a `Dockerfile` in the `root` directory
directory: "/"
# Check for updates once a week
schedule:
interval: "weekly"
- package-ecosystem: "npm"
# Look for a `Dockerfile` in the `root` directory
directory: "/"
# Check for updates once a week
schedule:
interval: "weekly"

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)