mirror of
https://github.com/ivuorinen/docker-php-with-imagick-multi.git
synced 2026-01-26 03:24:11 +00:00
Workflow fix
This commit is contained in:
11
.github/workflows/docker-image.yml
vendored
11
.github/workflows/docker-image.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user