From a8831ee6efcdc62e578aa00ab9fac8b53a13d1ea Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 4 Aug 2026 05:49:49 +0000 Subject: [PATCH] fix(ci): publish GHCR API image as amd64 only Drop QEMU multi-arch build that hung arm64 pnpm install for ~6h until the Release job was cancelled. Cloud ECS is amd64; fail the publish job fast with a 30-minute timeout if it ever stalls again. Co-authored-by: telivity-otaip --- .github/workflows/release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88e2c437..3d7a630d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -168,6 +168,7 @@ jobs: needs: release if: needs.release.outputs.skip == 'false' runs-on: ubuntu-latest + timeout-minutes: 30 permissions: contents: read packages: write @@ -176,9 +177,6 @@ jobs: with: fetch-depth: 0 - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -189,13 +187,13 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push API image (amd64 + arm64) + - name: Build and push API image (amd64) uses: docker/build-push-action@v6 with: context: . file: apps/api/Dockerfile push: true - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 provenance: false build-args: | VITE_AUTH_ENABLED=true