From b931046307337b030f51081a046a440db199a55b Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 11 Oct 2021 14:31:36 +0200 Subject: [PATCH] mlocati/php-extension-installer:. / mlocati/php-extension-installer: docker tags (#454) --- .github/workflows/readme-release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/readme-release.yml b/.github/workflows/readme-release.yml index 9ecaf7d..f49cca6 100644 --- a/.github/workflows/readme-release.yml +++ b/.github/workflows/readme-release.yml @@ -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