From 6fd7b0d88dee8a1fe9243d2ae386fb6e772c2e5e Mon Sep 17 00:00:00 2001 From: germondai Date: Fri, 26 Jun 2026 19:49:57 +0200 Subject: [PATCH] fix(ci): use native arm64 runner and fix cross-platform native bindings --- .github/workflows/publish.yml | 8 ++++++-- apps/api/Dockerfile | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2a50420..905da4f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,9 +12,13 @@ jobs: publish: strategy: matrix: - platform: [linux/amd64, linux/arm64] + include: + - platform: linux/amd64 + runner: ubuntu-latest + - platform: linux/arm64 + runner: ubuntu-24.04-arm - runs-on: ubuntu-latest + runs-on: ${{ matrix.runner }} permissions: contents: read packages: write diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 52f9f05..a364c98 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -1,5 +1,5 @@ # ── Stage 1: install workspace deps (runs natively on build host) ────────────── -FROM --platform=$BUILDPLATFORM oven/bun:1.3.14 AS deps +FROM oven/bun:1.3.14 AS deps WORKDIR /app # nodejs/python3/make/g++ are needed to compile better-sqlite3 (camoufox-js dep)