@@ -116,8 +116,8 @@ stages:
116116 type : docker
117117 variables :
118118 LinuxContainerImage : ' onebranch.azurecr.io/linux/ubuntu-2204:latest'
119- ob_outputDirectory : $(Build.SourcesDirectory)/out
120- ob_artifactSuffix : _$(name)_linux_amd64
119+ ob_outputDirectory : $(Build.SourcesDirectory)/out/images/$(os)-$(arch)
120+ ob_artifactSuffix : _$(name)
121121
122122 ARCH : amd64
123123 OS : linux
@@ -177,8 +177,8 @@ stages:
177177 type : docker
178178 variables :
179179 LinuxContainerImage : ' onebranch.azurecr.io/linux/ubuntu-2204:latest'
180- ob_outputDirectory : $(Build.SourcesDirectory)/out
181- ob_artifactSuffix : _$(name)_windows_amd64
180+ ob_outputDirectory : $(Build.SourcesDirectory)/out/images/$(os)-$(arch)
181+ ob_artifactSuffix : _$(name)
182182 ob_enable_qemu : true
183183
184184 ARCH : amd64
@@ -233,8 +233,8 @@ stages:
233233 hostArchitecture : arm64
234234 variables :
235235 LinuxContainerImage : ' onebranch.azurecr.io/linux/ubuntu-2004-arm64:latest'
236- ob_outputDirectory : $(Build.SourcesDirectory)/out
237- ob_artifactSuffix : _$(name)_linux_arm64
236+ ob_outputDirectory : $(Build.SourcesDirectory)/out/images/$(os)-$(arch)
237+ ob_artifactSuffix : _$(name)
238238 ob_build_container : true
239239
240240 ARCH : arm64
@@ -340,7 +340,6 @@ stages:
340340 - platform : linux/arm64
341341 imageReference : $(IPAM_LINUX_ARM64_REF)
342342 - platform : windows/amd64
343- osVersion : ltsc2022
344343 imageReference : $(IPAM_WINDOWS_AMD64_REF)
345344 - job : cni
346345 templateContext :
@@ -352,7 +351,6 @@ stages:
352351 - platform : linux/arm64
353352 imageReference : $(CNI_LINUX_ARM64_REF)
354353 - platform : windows/amd64
355- osVersion : ltsc2022
356354 imageReference : $(CNI_WINDOWS_AMD64_REF)
357355 - job : cns
358356 templateContext :
@@ -364,7 +362,6 @@ stages:
364362 - platform : linux/arm64
365363 imageReference : $(CNS_LINUX_ARM64_REF)
366364 - platform : windows/amd64
367- osVersion : ltsc2022
368365 imageReference : $(CNS_WINDOWS_AMD64_REF)
369366 - job : ipv6_hp_bpf
370367 templateContext :
@@ -385,7 +382,6 @@ stages:
385382 - platform : linux/arm64
386383 imageReference : $(NPM_LINUX_ARM64_REF)
387384 - platform : windows/amd64
388- osVersion : ltsc2022
389385 imageReference : $(NPM_WINDOWS_AMD64_REF)
390386
391387
0 commit comments