From 1c5f1c3e9420b2c2ed4acb339bff3abbd4b24ed6 Mon Sep 17 00:00:00 2001 From: Yao Date: Wed, 17 Jun 2026 13:32:41 +1000 Subject: [PATCH] ci: publish amd64-only image (drop slow emulated arm64 leg) The arm64 leg builds under QEMU emulation on the amd64 GitHub runner; on a lockfile cache-miss it took 40+ min. The deploy target (Coolify) is amd64, so build natively for amd64 only. Re-add arm64 with a native runner / warm cache if arm64 images are needed. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/publish-image.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index bb425d0..a7bc20b 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -39,7 +39,11 @@ jobs: with: context: . file: apps/server/Dockerfile - platforms: linux/amd64,linux/arm64 + # amd64 only: matches the deployment target (Coolify host) and builds + # natively on the GitHub runner. The linux/arm64 leg required QEMU + # emulation that, on a lockfile cache-miss, took 40+ min; re-add it with + # a dedicated arm64 runner or warmed cache if arm64 images are needed. + platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}