Skip to content

Commit

Permalink
Test conditional expr 2
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszklak committed Jul 1, 2024
1 parent 4bb3261 commit 4053d33
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ jobs:
file: builders/${{ inputs.name }}/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
platforms: |-
${{ (github.event.inputs.name == 'build-linux-rust' || github.event.inputs.name == 'build-windows-rust') && 'linux/amd64,linux/arm64' ||
${{ github.event.inputs.name == 'build-linux-rust' && 'linux/amd64,linux/arm64' ||
github.event.inputs.name == 'build-windows-rust' && 'linux/amd64,linux/arm64' ||
'linux/amd64' }}
push: false
tags: ${{ env.REGISTRY }}/nordsecurity/${{ inputs.name }}${{ inputs.rust_version }}:${{ inputs.version }}
Expand Down Expand Up @@ -102,7 +103,8 @@ jobs:
file: builders/${{ matrix.name }}/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
platforms: |-
${{ (github.event.inputs.name == 'build-linux-rust' || github.event.inputs.name == 'build-windows-rust') && 'linux/amd64,linux/arm64' ||
${{ github.event.inputs.name == 'build-linux-rust' && 'linux/amd64,linux/arm64' ||
github.event.inputs.name == 'build-windows-rust' && 'linux/amd64,linux/arm64' ||
'linux/amd64' }}
push: true
tags: ${{ env.REGISTRY }}/nordsecurity/debug-${{ matrix.name }}:${{ github.sha }}
Expand Down

0 comments on commit 4053d33

Please sign in to comment.