Repository navigation
ci(images): publish amd64 and arm64 images to GHCR for each release - #557
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014ZVBXSKSgEGnPsjq3WHhVZ
18 of 21 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adeel · project thread
Description
Before: every install builds Lens's images on the machine itself, which on a Raspberry Pi takes a long time; no release ships images.
After: each release publishes Lens's own images to GHCR, built for amd64 and arm64:
ghcr.io/adeelahmad/lens-backend:X.Y.Z-full(alsoX.Y.Z,latest-full,latest)ghcr.io/adeelahmad/lens-backend:X.Y.Z-lean(alsolatest-lean)ghcr.io/adeelahmad/lens-frontend:X.Y.Z(alsolatest)How: a new
images.ymlbuilds each image on a runner of its architecture (GitHub'subuntu-24.04-armfor arm64, no emulation), pushes by digest, then joins the two digests into one multi-arch tag and checks both platforms are in it.release.ymlstarts it for the tag like the other package workflows; it can also be run by hand with a tag to publish an existing release.latestmoves only for the newest release. Only the built-inGITHUB_TOKENis used; no new service. A PR that changesimages.ymlbuilds all six without pushing (this PR does).The install line doesn't use the images yet: an opt-in to pull them comes in the next PR, and the default stays build-from-source until the owner decides.
Motivation and Context
Queued item "prebuilt multi-arch images", started by the owner's "Start all".
Types of changes
Checklist:
make hookschecks it on commit).Both architectures are there; requirement row in docs/requirements.md)docs/accordingly. (docs/deployment.md#prebuilt-images)Done questions (AGENTS.md)
Local CI:
ci/local-ci.sh --jobs pre-commit,titlepassed; actionlint clean.Generated by Claude Code