Skip to content

ci: simplify Docker image tagging#2108

Merged
leoyvens merged 1 commit intomainfrom
leo/ci-image-tagging
Apr 8, 2026
Merged

ci: simplify Docker image tagging#2108
leoyvens merged 1 commit intomainfrom
leo/ci-image-tagging

Conversation

@leoyvens
Copy link
Copy Markdown
Collaborator

@leoyvens leoyvens commented Apr 8, 2026

Use the metadata job's tag output directly as a Docker image tag. This replaces the canary floating tag with main for main-branch pushes, makes nightly images individually addressable as nightly-<sha>, and removes the redundant type=ref,event=tag.

So tag situation becomes:

Trigger Docker tags
Push to main main, sha-<hash>
Tag push v1.2.3 v1.2.3, latest, sha-<hash>
Nightly nightly-<sha>, nightly, sha-<hash>
Dispatch from branch <branch-name>, sha-<hash>

Use the metadata job's `tag` output directly as a Docker image tag.
This replaces the `canary` floating tag with `main` for main-branch
pushes, makes nightly images individually addressable as
`nightly-<sha>`, and removes the redundant `type=ref,event=tag`.
Copy link
Copy Markdown
Member

@Theodus Theodus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@leoyvens leoyvens merged commit 168fef4 into main Apr 8, 2026
17 checks passed
@leoyvens leoyvens deleted the leo/ci-image-tagging branch April 8, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants