Skip to content

Commit

Permalink
Both semver matching
Browse files Browse the repository at this point in the history
  • Loading branch information
MukuFlash03 committed Oct 4, 2024
1 parent f2ca6cf commit fd5585f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/reusable_image_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,9 @@ jobs:
tags: |
# type=ref,event=branch
# 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/tags/{0}', steps.fetch-latest-release-tags.outputs.tag_name ) }}
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/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 fd5585f

Please sign in to comment.