Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: build multiarch images natively #214

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

iainlane
Copy link
Member

@iainlane iainlane commented Feb 18, 2025

We currently build multiarch images using QEMU. This is slow. These days GitHub offers native arm64 builders for free for public repositories like ours, so let's use it.

This is following the recipe outlined on Docker's website. Kind of, with some modifications to support attestations and fix zizmor lints.

@iainlane iainlane force-pushed the iainlane/build-multiarch-natively branch 23 times, most recently from ab6b291 to 5ff8ac3 Compare February 25, 2025 16:42

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We currently build multiarch images using QEMU. This is slow. These days
GitHub offers native arm64 builders for free for public repositories
like ours, so let's use it.

This is following [the recipe outlined on Docker's website][method],
with a couple of adjustments to generate SBOMs and provenance
attestations so that our images can be verified.

[method]: https://docs.docker.com/build/ci/github-actions/multi-platform/#distribute-build-across-multiple-runners
@iainlane iainlane force-pushed the iainlane/build-multiarch-natively branch from 5ff8ac3 to 1ee603c Compare February 25, 2025 16:46
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.

None yet

1 participant