From 9b6ac0f4a660302bfffe1bf4e0344dece126e8e9 Mon Sep 17 00:00:00 2001 From: Jakob Wennberg <149234542+jakobwennberg@users.noreply.github.com> Date: Sat, 16 May 2026 10:07:09 +0200 Subject: [PATCH] ci(docker): publish multi-arch image (linux/amd64 + linux/arm64) (#503) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci(docker): publish multi-arch image (linux/amd64 + linux/arm64) Apple Silicon users hit "no matching manifest for linux/arm64/v8" when running `docker compose up -d` because the publish workflow defaulted to the GHA runner's native arch (amd64). Add a QEMU setup step and tell buildx to emit both linux/amd64 and linux/arm64 manifests under the same tag. Co-Authored-By: Claude Opus 4.7 (1M context) * docs(self-hosting): drop stale migration file count The doc claimed "63 ordered SQL files" — actual count is ~210 and growing every release. Removing the specific number so it stops drifting. Co-Authored-By: Claude Opus 4.7 (1M context) --------- Co-authored-by: Claude Opus 4.7 (1M context) --- .github/workflows/docker-publish.yml | 4 ++++ SELF-HOSTING.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 9eacb47f..10e08eb7 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -34,6 +34,9 @@ jobs: type=raw,value=latest type=sha,prefix= + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -41,6 +44,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/SELF-HOSTING.md b/SELF-HOSTING.md index 375ffc81..25cd4c90 100644 --- a/SELF-HOSTING.md +++ b/SELF-HOSTING.md @@ -28,7 +28,7 @@ MFA (two-factor authentication via TOTP) is **not enforced** for self-hosted dep ## 3. Apply Database Migrations -The `supabase/migrations/` directory contains 63 ordered SQL files that set up the full schema, including tables, RLS policies, triggers, and functions. +The `supabase/migrations/` directory contains the ordered SQL files that set up the full schema, including tables, RLS policies, triggers, and functions. **Option A — Supabase CLI (recommended):**