Files
docker-php-with-imagick/.github/workflows/docker-image.yml
renovate[bot] 52bebceb7b chore(deps): update actions/checkout action to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 12:49:50 +03:00

27 lines
628 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' }}