mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-11-30 04:29:15 +01:00
Fix name of steps in readme-release.yml GitHub Action
This commit is contained in:
parent
db818367b0
commit
ab356c2d85
6
.github/workflows/readme-release.yml
vendored
6
.github/workflows/readme-release.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
|||||||
git commit -m '[skip ci] Automatically update README.md'
|
git commit -m '[skip ci] Automatically update README.md'
|
||||||
git push
|
git push
|
||||||
fi
|
fi
|
||||||
- name: Looking for the recent version tags
|
- name: Look for the recent version tags
|
||||||
if: >
|
if: >
|
||||||
(github.event_name == 'push' && github.ref == 'refs/heads/master')
|
(github.event_name == 'push' && github.ref == 'refs/heads/master')
|
||||||
|| (github.event_name == 'create' && github.event.ref_type == 'tag')
|
|| (github.event_name == 'create' && github.event.ref_type == 'tag')
|
||||||
@ -68,7 +68,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
printf 'VERSIONTAG_LAST=%s\n' "$VERSIONTAG_LAST" >> "$GITHUB_ENV"
|
printf 'VERSIONTAG_LAST=%s\n' "$VERSIONTAG_LAST" >> "$GITHUB_ENV"
|
||||||
printf 'VERSIONTAG_PENULTIMATE=%s\n' "$VERSIONTAG_PENULTIMATE" >> "$GITHUB_ENV"
|
printf 'VERSIONTAG_PENULTIMATE=%s\n' "$VERSIONTAG_PENULTIMATE" >> "$GITHUB_ENV"
|
||||||
- name: Checking if we need to create a version tag after a push
|
- name: Check if we need to create a version tag after a push
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
run: |
|
run: |
|
||||||
VERSIONTAG_THIS=
|
VERSIONTAG_THIS=
|
||||||
@ -157,7 +157,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
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
|
||||||
if: env.VERSIONTAG_THIS != ''
|
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:latest .
|
||||||
- name: Push docker image to Docker Hub
|
- name: Push docker image to Docker Hub
|
||||||
|
Loading…
Reference in New Issue
Block a user