Skip to content

Commit 7c97020

Browse files
committed
Push docker images to GitHub Container Registry too
1 parent 1d064f4 commit 7c97020

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/readme-release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ jobs:
193193
printf 'mayor-minor-patch=%s\n' "$VERSIONTAG_THIS" >>"$GITHUB_OUTPUT"
194194
printf 'mayor-minor=%s\n' "${VERSIONTAG_THIS%.*}" >>"$GITHUB_OUTPUT"
195195
printf 'mayor=%s\n' "${VERSIONTAG_THIS%%.*}" >>"$GITHUB_OUTPUT"
196-
printf 'latest=latest\n' "${VERSIONTAG_THIS%%.*}" >>"$GITHUB_OUTPUT"
197196
-
198197
name: Build and push docker image
199198
if: env.VERSIONTAG_THIS != ''
@@ -203,9 +202,13 @@ jobs:
203202
push: true
204203
tags: |
205204
mlocati/php-extension-installer:${{ steps.define-versions.outputs.mayor-minor-patch }}
205+
ghcr.io/mlocati/php-extension-installer:${{ steps.define-versions.outputs.mayor-minor-patch }}
206206
mlocati/php-extension-installer:${{ steps.define-versions.outputs.mayor-minor }}
207+
ghcr.io/mlocati/php-extension-installer:${{ steps.define-versions.outputs.mayor-minor }}
207208
mlocati/php-extension-installer:${{ steps.define-versions.outputs.mayor }}
208-
mlocati/php-extension-installer:${{ steps.define-versions.outputs.latest }}
209+
ghcr.io/mlocati/php-extension-installer:${{ steps.define-versions.outputs.mayor }}
210+
mlocati/php-extension-installer:latest
211+
ghcr.io/mlocati/php-extension-installer:latest
209212
# Build for all platforms also supported by php images (https://hub.docker.com/_/php/tags)
210213
platforms: |
211214
linux/386

0 commit comments

Comments
 (0)