mirror of
https://github.com/ivuorinen/docker-php-with-imagick-multi.git
synced 2026-02-12 13:48:12 +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
|
name: GitHub Docker Registry Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '41 1 * * *'
|
- cron: "41 1 * * *"
|
||||||
push:
|
push:
|
||||||
branches: [ "main" ]
|
branches: ["main"]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@@ -14,7 +16,6 @@ env:
|
|||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@@ -31,11 +32,11 @@ jobs:
|
|||||||
- name: Publish to Registry (${{ matrix.php }})
|
- name: Publish to Registry (${{ matrix.php }})
|
||||||
uses: elgohr/Publish-Docker-Github-Action@v5
|
uses: elgohr/Publish-Docker-Github-Action@v5
|
||||||
with:
|
with:
|
||||||
name: ${{ env.IMAGE_NAME }}/php-imagick
|
name: ${{ env.IMAGE_NAME }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
tags: ${{ matrix.phpDir }}
|
tags: ${{ matrix.php }}
|
||||||
dockerfile: Dockerfile-${{ matrix.php }}
|
dockerfile: Dockerfile-${{ matrix.php }}
|
||||||
default_branch: main
|
default_branch: main
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|||||||
Reference in New Issue
Block a user