mirror of
https://github.com/ivuorinen/docker-php-with-imagick.git
synced 2026-01-26 11:34:08 +00:00
26 lines
643 B
YAML
26 lines
643 B
YAML
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@v4
|
|
- name: Publish to Registry
|
|
uses: elgohr/Publish-Docker-Github-Action@v5
|
|
with:
|
|
name: ivuorinen/docker-php-with-imagick
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
default_branch: main
|
|
tags: "latest,php74"
|
|
cache: ${{ github.event_name != 'schedule' }}
|