Skip to content

Commit 6618989

Browse files
Merge: pin newer QEMU to fix hung arm64 image build (#6)
ci: pin newer QEMU to fix hung arm64 image build
2 parents c5c6084 + cca3708 commit 6618989

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
branches: [main]
66
tags: ["v*"]
77

8+
# Only one publish run per ref at a time; a newer push cancels an in-flight
9+
# build for the same ref instead of letting it hang/queue behind it.
10+
concurrency:
11+
group: publish-${{ github.ref }}
12+
cancel-in-progress: true
13+
814
jobs:
915
publish:
1016
name: Build and push to GHCR
@@ -35,7 +41,14 @@ jobs:
3541
type=raw,value=edge,enable=${{ github.ref == 'refs/heads/main' }}
3642
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
3743
44+
# Pin a recent QEMU build. The default binfmt image lagged the toolchain
45+
# in node:22-alpine (gcc 15 / musl 1.2.6), and emulating those newer
46+
# arm64 binaries crashed with "uncaught target signal 4 (Illegal
47+
# instruction)", which core-dumped and left the build hung. A current
48+
# QEMU emulates the new userspace correctly.
3849
- uses: docker/setup-qemu-action@v3
50+
with:
51+
image: tonistiigi/binfmt:qemu-v10.2.3
3952
- uses: docker/setup-buildx-action@v3
4053

4154
- name: Log in to GHCR

0 commit comments

Comments
 (0)