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