Only publish and build multi-arch on main #5

Merged
geusebio merged 1 commit from claude/publish-multiarch-main-4cb033 into main 2026-07-22 07:32:34 +00:00
Owner

Branch pushes now do an amd64-only, build-only validation pass; main keeps the full multi-arch publish.

  • docker-bake.hcl: fixed PLATFORMS list replaced with a MULTIARCH variable — amd64+arm64 when MULTIARCH=true, amd64 alone otherwise.
  • build.yml: push and MULTIARCH are both gated on github.ref == 'refs/heads/main'; QEMU setup and the three registry logins are skipped off-main (nothing to push, so no creds needed).
  • build.yml: the mirror job is main-only.

Verified locally with docker buildx bake --print: default prints linux/amd64 only, MULTIARCH=true prints both platforms.

🤖 Generated with Claude Code

Branch pushes now do an amd64-only, build-only validation pass; `main` keeps the full multi-arch publish. - `docker-bake.hcl`: fixed `PLATFORMS` list replaced with a `MULTIARCH` variable — `amd64+arm64` when `MULTIARCH=true`, `amd64` alone otherwise. - `build.yml`: `push` and `MULTIARCH` are both gated on `github.ref == 'refs/heads/main'`; QEMU setup and the three registry logins are skipped off-main (nothing to push, so no creds needed). - `build.yml`: the `mirror` job is main-only. Verified locally with `docker buildx bake --print`: default prints `linux/amd64` only, `MULTIARCH=true` prints both platforms. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Only publish and build multi-arch on main
All checks were successful
Build / Build Builder (push) Successful in 1m35s
Build / Mirror images to git.grey.ooo.-2 (push) Has been skipped
Build / Mirror images to git.grey.ooo. (push) Has been skipped
Build / Mirror images to git.grey.ooo.-3 (push) Has been skipped
Build / Mirror images to git.grey.ooo.-5 (push) Has been skipped
Build / Mirror images to git.grey.ooo.-1 (push) Has been skipped
Build / Mirror images to git.grey.ooo.-4 (push) Has been skipped
Build / Mirror images to git.grey.ooo.-6 (push) Has been skipped
d4455935fa
Branch pushes now do an amd64-only, build-only pass: no registry logins,
no QEMU, no push, and the mirror job is skipped. Main keeps the full
multi-arch publish.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
actions/Github-Actions-Runner!5
No description provided.