From e0c6573b1976ed543a2f4e53621f3d696652cd1c Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Mon, 26 May 2025 20:51:40 +0000 Subject: [PATCH] feature/fix-arm-builds (#6) Reviewed-on: http://brosner.dev/brosner/teufa/pulls/6 --- .gitea/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index dda8664..e8689e1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -63,7 +63,10 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} build: name: Build and push image - runs-on: ubuntu-latest + runs-on: ${{ matrix.runner }} + strategy: + matrix: + runner: [ubuntu-latest, ubuntu-arm-latest] permissions: packages: write needs: tests @@ -101,5 +104,5 @@ jobs: labels: ${{ steps.meta.outputs.labels }} annotations: ${{ steps.meta.outputs.annotations }} target: prod - platforms: linux/amd64,linux/arm64 + platforms: ${{ matrix.runner == 'ubuntu-latest' && 'linux/amd64' || 'linux/arm64' }} push: true