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