Skip to content

Commit

Permalink
fix: 1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
plaformsre committed Jul 22, 2024
1 parent e0fcf17 commit 6d2fce8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
- name: Create Git tag
run: |
git tag -a "v1.2.5" -m "Release version 1.2.5" || echo "Tag already exists"
git push origin "v1.2.5" || echo "Tag already pushed"
git tag -a "v1.2.6" -m "Release version 1.2.6" || echo "Tag already exists"
git push origin "v1.2.6" || echo "Tag already pushed"
- name: Install GitHub CLI
run: |
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Check if GitHub release exists
id: check_release
run: |
if gh release view "v1.2.5"; then
if gh release view "v1.2.6"; then
echo "RELEASE_EXISTS=true" >> $GITHUB_ENV
else
echo "RELEASE_EXISTS=false" >> $GITHUB_ENV
Expand All @@ -60,9 +60,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: "v1.2.5"
release_name: "Release 1.2.5"
body: "Release of version 1.2.5"
tag_name: "v1.2.6"
release_name: "Release 1.2.6"
body: "Release of version 1.2.6"
draft: false
prerelease: false

Expand All @@ -73,7 +73,7 @@ jobs:
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Build Docker image
run: docker build . -t ${{ secrets.DOCKER_HUB_USERNAME }}/springboot-demo:1.2.5
run: docker build . -t ${{ secrets.DOCKER_HUB_USERNAME }}/springboot-demo:1.2.6

- name: Push Docker image
run: docker push ${{ secrets.DOCKER_HUB_USERNAME }}/springboot-demo:1.2.5
run: docker push ${{ secrets.DOCKER_HUB_USERNAME }}/springboot-demo:1.2.6

0 comments on commit 6d2fce8

Please sign in to comment.