From 3e31721b0eb9883fcdd5efba21f13992b3f3d9a1 Mon Sep 17 00:00:00 2001 From: mfwadejr <125498560+mfwadejr@users.noreply.github.com> Date: Mon, 21 Sep 2026 22:54:18 +0000 Subject: [PATCH] Build multi-arch images so pulls work regardless of runner/host CPU The first successful Gitea-side publish only produced a manifest for whatever architecture the self-hosted Actions runner happens to be, which didn't match the amd64 ZimaOS host pulling it ("no matching manifest for linux/amd64"). Adds QEMU + Buildx setup and builds for linux/amd64 and linux/arm64 explicitly so the published image works on any host regardless of what CPU built it. --- .github/workflows/publish-container.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index 4debf7b..2a79edc 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -29,6 +29,12 @@ jobs: echo "image=$host/marvin/vboxstock" >> "$GITHUB_OUTPUT" fi + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Buildx + uses: docker/setup-buildx-action@v3 + - name: Sign in to container registry uses: docker/login-action@v3 with: @@ -51,6 +57,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: |