Add support for linux/arm/v7 platform in Docker build workflow

This commit is contained in:
Dominik Schröter 2025-01-02 15:19:10 +01:00
parent 13f31ddc3f
commit 31e082b924

View file

@ -58,6 +58,9 @@ jobs:
build-and-push:
runs-on: ubuntu-latest
needs: test
strategy:
matrix:
platform: [linux/amd64, linux/arm64, linux/arm/v7]
steps:
- name: Checkout code
uses: actions/checkout@v3
@ -91,7 +94,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.platform }}
push: ${{ github.event_name != 'pull_request' }}
cache-from: type=gha
cache-to: type=gha,mode=max