Workflow fix

This commit is contained in:
2023-04-24 10:02:53 +03:00
parent 9797d08749
commit 1b639811bd

View File

@@ -1,10 +1,12 @@
---
# yamllint disable truthy
name: GitHub Docker Registry Build
on:
schedule:
- cron: '41 1 * * *'
- cron: "41 1 * * *"
push:
branches: [ "main" ]
branches: ["main"]
workflow_dispatch:
env:
@@ -14,7 +16,6 @@ env:
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
@@ -31,11 +32,11 @@ jobs:
- name: Publish to Registry (${{ matrix.php }})
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: ${{ env.IMAGE_NAME }}/php-imagick
name: ${{ env.IMAGE_NAME }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
tags: ${{ matrix.phpDir }}
tags: ${{ matrix.php }}
dockerfile: Dockerfile-${{ matrix.php }}
default_branch: main
platforms: linux/amd64,linux/arm64