Skip to content

Commit 3dc2126

Browse files
author
Evans Aboge (from Dev Box)
committed
Add platform
1 parent ccfb2d8 commit 3dc2126

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.azure-pipelines/ci-build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ extends:
330330
os: linux
331331
steps:
332332
- checkout: self
333-
333+
334334
- task: AzureCLI@2
335335
displayName: 'Login to Azure Container Registry'
336336
inputs:
@@ -414,6 +414,7 @@ extends:
414414
echo "Using build date: ${BUILDDATE}"
415415
# Using quotes around tags to prevent flag interpretation
416416
docker build \
417+
--platform linux/amd64 \
417418
-t "$(REGISTRY)/$(IMAGE_NAME):nightly" \
418419
-t "$(REGISTRY)/$(IMAGE_NAME):${VERSION}.${BUILDDATE}${RUNNUMBER}" \
419420
"$(Build.SourcesDirectory)"

0 commit comments

Comments
 (0)