Skip to content

Publish rolling :edge and immutable :sha-<commit> container images on merge to main#2397

Open
siavashhub wants to merge 2 commits into
lemonade-sdk:mainfrom
siavashhub:feat/docker-sha-tags
Open

Publish rolling :edge and immutable :sha-<commit> container images on merge to main#2397
siavashhub wants to merge 2 commits into
lemonade-sdk:mainfrom
siavashhub:feat/docker-sha-tags

Conversation

@siavashhub

Copy link
Copy Markdown
Collaborator

Summary

Publishes container images on every merge to main, to provide ability to pin fixes that are merged but not yet part of a tagged release.

Closes #2372.

What changed

.github/workflows/build-and-push-container.yml:

  • Added a push trigger for the main branch (alongside the existing v*
    tag trigger).
  • Merge to main now publishes:
    • :edge a rolling tag that always points at the latest main build.
    • :sha-<short> an immutable, per-commit tag for reproducible pinning.
  • Tag release (v*) behavior is unchanged: publishes :vX.Y.Z + :latest.
  • Manual dispatch behavior is unchanged: builds the given tag and moves :latest only when add_latest is checked.

Tagging matrix

Trigger Tags published Moves latest?
Push to main edge, sha-<short> No
Push tag vX.Y.Z vX.Y.Z, latest Yes
workflow_dispatch <input.tag> (+ latest opt.) If add_latest

@siavashhub siavashhub enabled auto-merge June 23, 2026 21:35
@siavashhub siavashhub self-assigned this Jun 23, 2026
@siavashhub siavashhub requested a review from jeremyfowers June 23, 2026 21:36
@github-actions github-actions Bot added area::ci CI / GitHub Actions / self-hosted runner infrastructure enhancement New feature or request labels Jun 23, 2026
@siavashhub

Copy link
Copy Markdown
Collaborator Author

@jeremyfowers ready for merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area::ci CI / GitHub Actions / self-hosted runner infrastructure enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish a rolling edge (or per-commit) Docker image so merged-but-unreleased fixes are pinnable

1 participant