Repository navigation
ci(docker): build each platform on a native runner - #53
Merged
Merged
Conversation
The mrefd image took 20-30 minutes because arm64 and arm/v7 compiled OpenDHT and mrefd under QEMU, and it ran on every push and pull request. Build with Docker's github-builder reusable workflow instead, which puts each platform on its own runner (Arm on ubuntu-24.04-arm) and merges the results, and only run when a file that goes into the image changes. Pushed images also get signed build provenance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QqGWMRrYCN6Z52s2b3Gyj6
Dependabot's branches live in this repository, so every update ran each workflow twice: once for the push and once for the pull request. Skip the push for dependabot/** branches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QqGWMRrYCN6Z52s2b3Gyj6
turnrye
force-pushed
the
ci/native-arm-builds
branch
from
October 15, 2026 11:39
5212173 to
87ece25
Compare
Collaborator
Author
|
@n7tae sorry that I missed these improvements on my first go -- please let me know if you're comfortable with me landing these as well. |
Owner
|
I am fine with this. I just ask that if you need to change any mrefd sources, please tag me. |
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.
The mrefd image took 20–30 minutes to build because arm64 and arm/v7 compiled OpenDHT and mrefd under QEMU on an x86 runner. The workflow also ran on every push and pull request, including config-only changes like #51, and Dependabot pull requests ran every workflow twice.
Change:
ubuntu-24.04-arm), merged into the same multi-arch tags; pushed images also get signed build provenancedependabot/**branches, since their pull requests build themTesting on my fork: all three platforms built in 2 min 53 s, against 21–30 min before, and arm/v7 built natively without QEMU. The image has the same tags, platforms and labels, runs as uid 65532, and starts on arm/v7.