Skip to content

Commit

Permalink
ci: creating major only tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lanathlor committed Dec 19, 2024
1 parent ff8e0ac commit d1a9c61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
type=ref,event=pr
type=semver,pattern={{version}},value=${{ steps.get_tag_version.outputs.version }}
type=semver,pattern={{major}}.{{minor}},value=${{ steps.get_tag_version.outputs.version }}
type=semver,pattern={{major}},value=${{ steps.get_tag_version.outputs.version }}
type=sha
type=raw,value=latest,enable={{is_default_branch}}
Expand Down Expand Up @@ -95,6 +96,7 @@ jobs:
type=ref,event=pr
type=semver,pattern={{version}},value=${{ steps.get_tag_version.outputs.version }}
type=semver,pattern={{major}}.{{minor}},value=${{ steps.get_tag_version.outputs.version }}
type=semver,pattern={{major}},value=${{ steps.get_tag_version.outputs.version }}
type=sha
type=raw,value=latest,enable={{is_default_branch}}
Expand Down Expand Up @@ -145,6 +147,7 @@ jobs:
type=ref,event=pr
type=semver,pattern={{version}},value=${{ steps.get_tag_version.outputs.version }}
type=semver,pattern={{major}}.{{minor}},value=${{ steps.get_tag_version.outputs.version }}
type=semver,pattern={{major}},value=${{ steps.get_tag_version.outputs.version }}
type=sha
type=raw,value=latest,enable={{is_default_branch}}
Expand Down

0 comments on commit d1a9c61

Please sign in to comment.