Repository navigation
ci(): build each platform on a native runner - #12
Merged
Merged
Conversation
The arm64 image was built under QEMU on the amd64 runner. Its apt-get install alone took 621s against 111s on amd64, which made the cold build last about 17 minutes. Each platform now builds on its own runner (ubuntu-24.04 and ubuntu-24.04-arm) with a per-platform cache scope, pushes by digest, and a merge job assembles the multi-arch manifest lists under the same tags as before, on Docker Hub and GHCR. Pull requests build both platforms without pushing; the merge job does not run for them. Actions move to their current majors (checkout v7, setup-buildx v4, login v4, metadata v6, build-push v7); the old ones targeted the deprecated Node 20 runtime. setup-qemu is no longer needed.
This was referenced Nov 7, 2026
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.
Stacked on #11 (itself on #10): merge those first.
The arm64 image was built under QEMU on the amd64 runner. On the cold build of #9 (run 42357802286), arm64
apt-get installalone took 621s against 111s on amd64, and the run lasted about 17 minutes. #11 takes composer, the minifiers and geoipupdate out of emulation; this PR removes emulation altogether.What changes
build: a matrix job, one native runner per platform (ubuntu-24.04,ubuntu-24.04-arm), each with its own GHA cache scope. It pushes its image by digest to both registries and uploads the digest as an artifact.merge: downloads the digests and runsdocker buildx imagetools createonce per registry, with the same tags as before (develop/master, the dailyYYYYMMDDon schedule, semver on tags).mergeis skipped. arm64 is now actually built on PRs, natively.checkout@v7,setup-buildx-action@v4,login-action@v4,metadata-action@v6,build-push-action@v7, plusupload-artifact@v7/download-artifact@v8. The old majors targeted the deprecated Node 20 runtime (the runs warned about it). The breaking notes of these majors touch nothing used here (Node 24 runtime, removed deprecated inputs/envs).setup-qemu-actionis gone.The Forgejo mirror has Actions disabled, so the GitHub-only
ubuntu-24.04-armlabel does not leave a job queued there.Checked
actionlint1.7.7: clean.dockerand a sample metadata output: each registry gets only its own tags and its own digests; an empty tag list fails the step instead of pushing nothing.buildmatrix;mergeonly runs after the merge into develop, so the first develop push is the first real run of it.🤖 Generated with Claude Code