ci: drop arm64 QEMU build (2h -> ~5 min) (#11)

The previous matrix did linux/amd64,linux/arm64 with arm64 via
docker/setup-qemu-action. QEMU-emulated builds of this image
(Next.js SPA + Go cgo-sqlite) ran for ~2 hours per tag — fast
enough to bottleneck every hotfix tag.

Drop arm64. Cluster runners are amd64; Mac devs already run native
arm64 under OrbStack with its own arm64 base story. If we ever
need an arm64 multi-arch index, the right path is a second matrix
entry on a native arm64 runner — not QEMU.
This commit is contained in:
Darkhorse7stars
2026-05-24 03:06:58 -07:00
committed by GitHub
parent 296eee1f72
commit c8a3e72d67
+7 -7
View File
@@ -9,17 +9,17 @@ permissions:
packages: write
id-token: write
# Multi-arch on luxfi org's native amd64 ARC runner pool; arm64 via QEMU
# (matches lux/graph + lux/indexer docker.yml). Mac devs run native arm64
# under OrbStack — zero Rosetta is allowed. Semver tags only.
# amd64-only on luxfi's native ARC pool — the SPA build (Next.js + 8GB
# heap) + Go cgo-sqlite Docker build under QEMU arm64 emulation pushes
# build time from ~5 min to ~2 hours. Cluster runners are amd64; Mac
# devs use OrbStack which has its own arm64 base image story. arm64
# rebuilds can come back via a separate matrix entry on a native
# arm64 runner — not via QEMU.
jobs:
docker:
runs-on: lux-build
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
with:
platforms: linux/arm64
- uses: docker/setup-buildx-action@v3
with:
driver: docker-container
@@ -41,7 +41,7 @@ jobs:
- uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha,scope=explorer