mlocati/php-extension-installer:<major>.<minor> / mlocati/php-extension-installer:<major> docker tags (#454)
parent
a78c760ef5
commit
b931046307
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue