From 8033ffa664e4218847fe809e73056829b20bccdb Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 14 Jan 2021 17:38:16 +0100 Subject: [PATCH] Fix Docker image --- .github/workflows/readme-release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/readme-release.yml b/.github/workflows/readme-release.yml index b47b6d0..fb675cf 100644 --- a/.github/workflows/readme-release.yml +++ b/.github/workflows/readme-release.yml @@ -158,13 +158,11 @@ jobs: username: mlocati password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build docker image and push to Docker Hub - uses: docker/build-push-action@v2 if: env.VERSIONTAG_THIS != '' - with: - push: true - tags: | - mlocati/php-extension-installer:${{ env.VERSIONTAG_THIS }} - mlocati/php-extension-installer:latest + run: docker build --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 mlocati/php-extension-installer - name: Create release id: create_release if: env.VERSIONTAG_THIS != ''