Skip to content

Commit 5a88a1c

Browse files
committed
ci(release): set up qemu and buildx for multi-platform builds
The docker buildx bake step in yeetfile.js builds multi-platform targets (iamd on linux/amd64,linux/arm64; sakurajima on four arches), which the default docker buildx driver cannot do — the release run failed with "Multi-platform build is not supported for the docker driver." Add setup-qemu-action for cross-arch emulation and setup-buildx-action to create a docker-container builder that supports multi-platform builds. Release-status: cut Assisted-by: Claude Opus 4.8 via Claude Code Signed-off-by: Xe Iaso <me@xeiaso.net>
1 parent d2f2e00 commit 5a88a1c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ jobs:
3636

3737
- uses: ko-build/setup-ko@d982fec422852203cfb2053a8ec6ad302280d04d # v0.8
3838

39+
# docker buildx bake builds multi-platform targets (e.g. iamd on
40+
# linux/amd64,linux/arm64), which the default docker driver cannot do.
41+
# QEMU provides cross-arch emulation; buildx sets up a docker-container
42+
# builder that supports multi-platform builds.
43+
- uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
44+
45+
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
46+
3947
- name: Log into registry
4048
if: github.event_name != 'pull_request'
4149
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0

0 commit comments

Comments
 (0)