Fix Docker image

This commit is contained in:
Michele Locati 2021-01-14 17:38:16 +01:00
parent 841e537432
commit 8033ffa664
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B

View File

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