mlocati/php-extension-installer:<major>.<minor> / mlocati/php-extension-installer:<major> docker tags (#454)

This commit is contained in:
Michele Locati 2021-10-11 14:31:36 +02:00 committed by GitHub
parent a78c760ef5
commit b931046307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,13 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build docker image
if: env.VERSIONTAG_THIS != ''
run: docker build --tag "mlocati/php-extension-installer:$VERSIONTAG_THIS" --tag mlocati/php-extension-installer:latest .
run: >
docker build
--tag "mlocati/php-extension-installer:$VERSIONTAG_THIS"
--tag "mlocati/php-extension-installer:${VERSIONTAG_THIS%.*}"
--tag "mlocati/php-extension-installer:${VERSIONTAG_THIS%%.*}"
--tag mlocati/php-extension-installer:latest
.
- name: Push docker image to Docker Hub
if: env.VERSIONTAG_THIS != ''
run: docker push --all-tags mlocati/php-extension-installer