ci: fix container tags again
This commit is contained in:
@@ -26,14 +26,13 @@ jobs:
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
|
||||
tags: |
|
||||
# Keep a moving branch tag (e.g., main)
|
||||
type=ref,event=branch
|
||||
# Latest tag will automatically be generated for the latest tagged release
|
||||
# Version tag on releases (e.g., v1.2.3)
|
||||
type=ref,event=tag
|
||||
# Keep a moving branch tag (e.g., main)
|
||||
type=ref,event=branch
|
||||
# Snapshot tag for commits on the default branch (e.g., snapshot-<hash>)
|
||||
type=raw,value=snapshot-{{sha}},enable={{is_default_branch}}
|
||||
# Move "latest" only when building from a tag
|
||||
type=raw,value=latest,enable={{is_tag}}
|
||||
|
||||
- name: Log in to Container Registry
|
||||
uses: docker/login-action@v3
|
||||
|
||||
Reference in New Issue
Block a user