Skip to content

Commit

Permalink
Fix Docker Multiplatform Build Typo Issue (#4756)
Browse files Browse the repository at this point in the history
* added test print statement for docker-build-push

* fix case test

* remove print statements
  • Loading branch information
mikaelweave authored Dec 20, 2024
1 parent 8f7530c commit 9b913f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/jobs/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
scriptType: 'bash'
scriptLocation: 'inlineScript'
inlineScript: |
if [ "${{ parameters.multiplePlatforms }}" = "true" ]; then
MULTIPLATFORM=${{ parameters.multiplePlatforms }}
if [ "${MULTIPLATFORM,,}" = "true" ]; then
echo "Running multi-platform build. Will pull buildx from dockerhub."
else
echo "Running single-platform build, pulling buildx from mirror to avoid throttling."
Expand Down

0 comments on commit 9b913f9

Please sign in to comment.