Skip to content

Commit

Permalink
#39 [docker public hub] fix: update workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Aug 4, 2024
1 parent 9ee95a1 commit 4d53b56
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/php-docker-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
IMAGE_NAME: ${{ secrets.IMAGE_NAME }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}

jobs:
shellcheck:
Expand Down Expand Up @@ -45,7 +46,8 @@ jobs:
with:
registry: docker.io
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ env.DOCKERHUB_TOKEN }}
password: ${{ env.DOCKERHUB_PASSWORD }}
token: ${{ env.DOCKERHUB_TOKEN }}

- name: Get latest version tag
id: get_version
Expand Down Expand Up @@ -75,7 +77,7 @@ jobs:
patch=0
minor=$((minor+1))
fi
if [ "$minor" -ge 10 ]; then
if [ "$minor" -ge 10]; then
minor=0
major=$((major+1))
fi
Expand Down

0 comments on commit 4d53b56

Please sign in to comment.