Skip to content

Commit

Permalink
try with matrix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jörg Zimmermann committed Jan 2, 2025
1 parent e4fe333 commit 2655e57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ on:

jobs:
containerbuild:
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
platform: [ "linux/amd64", "linux/arm64" ]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -71,7 +73,7 @@ jobs:
LOGPREP_VERSION=${{ inputs.build-version }}
PYTHON_VERSION=${{ matrix.python-version }}
tags: ${{ steps.image-tag.outputs.tags }}
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.platform }}

- name: Extract image ID from sha256
id: imageid
Expand All @@ -97,7 +99,7 @@ jobs:
LOGPREP_VERSION=${{ inputs.build-version }}
PYTHON_VERSION=${{ matrix.python-version }}
tags: ${{ steps.image-tag.outputs.tags }}
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.platform }}

- name: Install Cosign
uses: sigstore/[email protected]
Expand Down

0 comments on commit 2655e57

Please sign in to comment.