Build multi-platform image (amd64, arm64) #1

Merged
aneurin merged 1 commits from multi-platform into main 2026-10-08 15:54:33 +00:00
Member

Builds and pushes :latest for linux/amd64 and linux/arm64, for deploying to a Pi.

  • The Dockerfile builder stage runs on the build platform and cross-compiles Caddy for the target platform, so no QEMU is needed.
  • build.yml checks the deSEC module against a local amd64 build, then builds and pushes both platforms with buildx.
  • pr-checks.yml also builds arm64 so a broken cross-compile is caught before merge.

Verified locally: the arm64 build produces an aarch64 caddy binary.

🤖 Generated with Claude Code

Builds and pushes `:latest` for linux/amd64 and linux/arm64, for deploying to a Pi. - The Dockerfile builder stage runs on the build platform and cross-compiles Caddy for the target platform, so no QEMU is needed. - `build.yml` checks the deSEC module against a local amd64 build, then builds and pushes both platforms with buildx. - `pr-checks.yml` also builds arm64 so a broken cross-compile is caught before merge. Verified locally: the arm64 build produces an aarch64 `caddy` binary. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
aneurin was assigned by claude 2026-10-08 15:19:23 +00:00
claude added 1 commit 2026-10-08 15:19:23 +00:00
Build multi-platform image for linux/amd64 and linux/arm64
Build / build-and-push (push) Successful in 32m4s
PR Checks / checks (pull_request) Successful in 34m52s
3eec79fa44
The builder stage cross-compiles Caddy for the target platform, so no
emulation is needed. The module check runs against the amd64 image; PR
checks also build arm64.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aneurin merged commit 3eec79fa44 into main 2026-10-08 15:54:33 +00:00
aneurin deleted branch multi-platform 2026-10-08 15:54:34 +00:00
Sign in to join this conversation.