parent
841e537432
commit
8033ffa664
|
@ -158,13 +158,11 @@ jobs:
|
||||||
username: mlocati
|
username: mlocati
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Build docker image and push to Docker Hub
|
- name: Build docker image and push to Docker Hub
|
||||||
uses: docker/build-push-action@v2
|
|
||||||
if: env.VERSIONTAG_THIS != ''
|
if: env.VERSIONTAG_THIS != ''
|
||||||
with:
|
run: docker build --tag "mlocati/php-extension-installer:$VERSIONTAG_THIS" --tag mlocati/php-extension-installer:latest .
|
||||||
push: true
|
- name: Push docker image to Docker Hub
|
||||||
tags: |
|
if: env.VERSIONTAG_THIS != ''
|
||||||
mlocati/php-extension-installer:${{ env.VERSIONTAG_THIS }}
|
run: docker push mlocati/php-extension-installer
|
||||||
mlocati/php-extension-installer:latest
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
id: create_release
|
id: create_release
|
||||||
if: env.VERSIONTAG_THIS != ''
|
if: env.VERSIONTAG_THIS != ''
|
||||||
|
|
Loading…
Reference in New Issue