Create docker-image.yml

Builds automatically `15 * 1,15 * *` (At minute 15 on day-of-month 1 and 15.).
This commit is contained in:
2022-03-04 10:20:57 +02:00
committed by GitHub
parent 93dbda9681
commit 0eace325f4

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

@@ -0,0 +1,21 @@
name: Docker Image CI
on:
workflow_dispatch:
schedule:
- cron: '15 * 1,15 * *' # Runs only on default branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag php-imagick:$(date +%s)