File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 6262 buildContextPath : $(BUILD_CONTEXT_${{ imageName }}_${{ parameters.targetOs }}_${{ parameters.targetArch }})
6363 targetVersion : $(IMAGE_PLATFORM_TAG_${{ imageName }}_${{ parameters.targetOs }}_${{ parameters.targetArch }})
6464 addBuildArgs : $(EXTRA_BUILD_ARGS_${{ imageName }}_${{ parameters.targetOs }}_${{ parameters.targetArch }})
65- targetPlatform : $(targetPlatform)
65+ targetPlatform : $(targetPlatform),linux/${{ parameters.targetArch }}
6666 targetArch : ${{ parameters.targetArch }}
6767 targetOs : ${{ parameters.targetOs }}
Original file line number Diff line number Diff line change 3232 # Pull windows image to allow building windows images on the Linux platform.
3333 docker pull --platform windows mcr.microsoft.com/windows/servercore:ltsc2019
3434 docker pull --platform windows mcr.microsoft.com/windows/servercore:ltsc2022
35+ displayName : Pull Required Images
3536
3637- task : 1ES.BuildContainerImage@1
3738 retryCountOnTaskFailure : 3
You can’t perform that action at this time.
0 commit comments