From 1b639811bd25adf2b4ddff5e87d816e1293bc442 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 24 Apr 2023 10:02:53 +0300 Subject: [PATCH] Workflow fix --- .github/workflows/docker-image.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 750e3da..ea9642a 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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