Skip to content

Commit 9ccbb8a

Browse files
committed
🧪 Use tonistiigi/binfmt QEMU container image
This replaces `multiarch/qemu-user-static` that hasn't gotten a release in over two years. And fixes the breakage that occurred as a result of GitHub Actions CI/CD updating their Ubuntu VMs [[1]]. [1]: actions/runner-images#11662
1 parent 90c6590 commit 9ccbb8a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build-manylinux-container-images.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,17 @@ jobs:
8686
Set up QEMU ${{ env.QEMU_ARCH }} arch emulation
8787
with Podman
8888
if: env.QEMU_ARCH != 'amd64'
89-
run: >-
89+
run: >
90+
sudo podman run
91+
--rm --privileged
92+
tonistiigi/binfmt
93+
--uninstall 'qemu-*'
94+
95+
9096
sudo podman run
9197
--rm --privileged
92-
multiarch/qemu-user-static
93-
--reset -p yes
98+
tonistiigi/binfmt
99+
--install all
94100
- name: Build the image with Buildah
95101
id: build-image
96102
uses: redhat-actions/buildah-build@v2.13

0 commit comments

Comments
 (0)