Skip to content

Commit

Permalink
matrix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Jul 26, 2024
1 parent 6348c64 commit 8d7588e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/docker_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ jobs:
build-and-push:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
layout:
[
"dex",
"recursive",
"recursive_with_poseidon",
"small",
"starknet",
"starknet_with_keccak",
]
hash: ["blake2s", "keccak"]

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -36,4 +50,4 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
build-args: |
FEATURES=starknet_with_keccak,blake2s
FEATURES=${{ matrix.layout }},${{ matrix.hash }}

0 comments on commit 8d7588e

Please sign in to comment.