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

pull/456/head
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
1 changed files with 7 additions and 1 deletions

View File

@ -159,7 +159,13 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build docker image - name: Build docker image
if: env.VERSIONTAG_THIS != '' 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 - name: Push docker image to Docker Hub
if: env.VERSIONTAG_THIS != '' if: env.VERSIONTAG_THIS != ''
run: docker push --all-tags mlocati/php-extension-installer run: docker push --all-tags mlocati/php-extension-installer