From 6197401c085aed7e0f6d55747489cfca6ce9e5d1 Mon Sep 17 00:00:00 2001 From: Mateusz Date: Mon, 27 Jul 2026 21:12:16 +0200 Subject: [PATCH] fix(ci): pin QEMU version for multi-arch build The arm64 leg of the multi-arch image build (prod cluster is aarch64) is emulated via QEMU on the amd64 runner. setup-qemu-action's default binfmt image ships a QEMU too old to emulate the newer Node/V8 (node:22 build stage), crashing with "uncaught target signal 4 (Illegal instruction)". Pin tonistiigi/binfmt:qemu-v9.2.2, which emulates the arm64 build cleanly (verified locally: full pnpm build completes under emulation). Applied to both the dev and release image workflows. --- .github/workflows/dev.yml | 2 ++ .github/workflows/docker.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 13619518..6177d18d 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -70,6 +70,8 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3 + with: + image: tonistiigi/binfmt:qemu-v9.2.2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ec32e7de..de31c7d1 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -74,6 +74,8 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3 + with: + image: tonistiigi/binfmt:qemu-v9.2.2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3