Skip to content

Commit

Permalink
*: fix tag latest with strict rule
Browse files Browse the repository at this point in the history
  • Loading branch information
apham0001 committed Feb 3, 2025
1 parent c740dc2 commit 402ccc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
type=raw,value=next,event=branch,enable={{is_default_branch}}
# Tag "latest" on git-tag events
type=raw,value=latest,event=tag
type=raw,value=latest,event=tag,enable={{matches(ref, 'refs/tags/v[0-9]+.[0-9]+.[0-9]+')}}
# Tag "$APP_VERSION" on git-push-to-branch events
type=raw,value=${{ env.APP_VERSION }},event=branch
Expand Down

0 comments on commit 402ccc3

Please sign in to comment.