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 != ''