Skip to content

Commit

Permalink
Raw tags ref changed
Browse files Browse the repository at this point in the history
  • Loading branch information
MukuFlash03 committed Oct 4, 2024
1 parent 53a48bf commit f2ca6cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/reusable_image_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ jobs:
# type=ref,event=tag
# type=semver,pattern=v{{version}}
# type=semver,pattern=v{{version}},value=${{ steps.fetch-latest-release-tags.outputs.tag_name }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', inputs.branch ) }}
# type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', inputs.branch ) }}
type=raw,value=latest,enable=${{ github.ref == format('refs/tags/{0}', steps.fetch-latest-release-tags.outputs.tag_name ) }}
- name: Login to DockerHub
# if: github.event_name != 'pull_request'
Expand Down

0 comments on commit f2ca6cf

Please sign in to comment.