Skip to content

Commit 81b48b5

Browse files
update build workflow to use image_json input for arch selection
1 parent 220c8b5 commit 81b48b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ jobs:
228228
strategy:
229229
matrix:
230230
image: ${{ fromJSON(needs.setup.outputs.images) }}
231-
arch: ${{ github.event_name == 'workflow_call' && fromJSON('["amd64"]') || fromJSON('["amd64", "arm64"]') }}
231+
arch: ${{ inputs.image_json && fromJSON('["amd64"]') || fromJSON('["amd64", "arm64"]') }}
232232
fail-fast: false
233233
name: 5 build (quickstart, ${{ matrix.image.tag }}, ${{ matrix.arch }})
234234
runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}

0 commit comments

Comments
 (0)