ci: build amd64 and arm64 image on the correct runner
All checks were successful
CI / Test (pull_request) Successful in 1m8s

This commit is contained in:
2025-01-07 18:33:58 +01:00
parent 94b3680f0e
commit 7a53e12012

View File

@@ -31,9 +31,14 @@ jobs:
build_and_push:
name: Build and push
strategy:
matrix:
arch: [amd64, arm64]
needs:
- test
runs-on: ubuntu-latest
runs-on:
- ubuntu-latest
- linux_${{ matrix.arch }}
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -62,9 +67,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: |
linux/amd64
linux/arm64
platform: linux/${{ matrix.arch }}
push: true
tags: |
${{ env.DOCKER_REGISTRY }}/t.behrendt/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}