Skip to content

feat(ci): improve multi-platform image build - #5

Merged
paullatzelsperger merged 1 commit into
mainfrom
feat/improve-multi-platform-image-build
Jul 7, 2026
Merged

feat(ci): improve multi-platform image build#5
paullatzelsperger merged 1 commit into
mainfrom
feat/improve-multi-platform-image-build

Conversation

@paullatzelsperger

Copy link
Copy Markdown
Contributor

What this PR changes

Reworks the Docker publish workflow for proper multi-platform image builds:

  • Per-platform build jobs: linux/amd64 builds on ubuntu-latest and linux/arm64 builds natively on ubuntu-24.04-arm, eliminating slow QEMU emulation for the arm64 build.
  • Digest-based manifest merge: each platform pushes by digest and uploads it as an artifact; a follow-up merge job assembles and pushes the multi-arch manifest with docker buildx imagetools create.
  • Tagging via docker/metadata-action: branch, tag, semver, sha, and latest (default branch only) tags replace the hand-rolled tag script.
  • Supply-chain hardening: all actions are pinned to commit SHAs.
  • Per-platform GHA build caches and a concurrency group that cancels superseded runs.

Notes for reviewers

  • The image name stays ghcr.io/eclipse-cfm/jwtlet (now derived from ${{ github.repository }}).

🤖 Generated with Claude Code

Split the Docker publish workflow into per-platform build jobs (amd64 on
ubuntu-latest, arm64 on a native arm runner) that push by digest, plus a
merge job that assembles the multi-arch manifest. Tagging is now handled
by docker/metadata-action, all actions are pinned to commit SHAs, and
per-platform GHA build caches are used.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@paullatzelsperger paullatzelsperger changed the title feat(ci): improve multi-plaform image build feat(ci): improve multi-platform image build Jul 7, 2026
@paullatzelsperger
paullatzelsperger merged commit 0456fa8 into main Jul 7, 2026
5 checks passed
@paullatzelsperger
paullatzelsperger deleted the feat/improve-multi-platform-image-build branch July 7, 2026 14:42
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