Skip to content

Commit b19e078

Browse files
committed
ci: tag main as :latest and beta as :beta
Replace the generic type=ref,event=branch tag (which produced :main / :beta from the branch name) with explicit raw rules so main publishes :latest and beta publishes :beta. Semver tag pushes still get :{version}, :{major.minor}, and the auto :latest from the default flavor; every build keeps its :{sha} tag for traceability. https://claude.ai/code/session_012rsJRUue9w7sBD3J5gmKWK
1 parent 730f366 commit b19e078

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ jobs:
182182
with:
183183
images: ${{ env.IMAGE_PREFIX }}/${{ matrix.component }}
184184
tags: |
185-
type=ref,event=branch
185+
type=raw,value=latest,enable={{is_default_branch}}
186+
type=raw,value=beta,enable=${{ github.ref == 'refs/heads/beta' }}
186187
type=semver,pattern={{version}}
187188
type=semver,pattern={{major}}.{{minor}}
188189
type=sha,prefix=

0 commit comments

Comments
 (0)