@@ -114,6 +114,7 @@ stages:
114114 pool :
115115 os : linux
116116 type : docker
117+ vmImage : ' onebranch.azurecr.io/linux/ubuntu-2204:latest'
117118 variables :
118119 ob_outputDirectory : $(Build.SourcesDirectory)/out
119120 ob_artifactSuffix : _$(name)_linux_amd64
@@ -174,6 +175,7 @@ stages:
174175 pool :
175176 os : linux
176177 type : docker
178+ vmImage : ' onebranch.azurecr.io/linux/ubuntu-2204:latest'
177179 variables :
178180 ob_outputDirectory : $(Build.SourcesDirectory)/out
179181 ob_artifactSuffix : _$(name)_windows_amd64
@@ -193,28 +195,24 @@ stages:
193195 imageTag : $(Build.BuildNumber)
194196 cni :
195197 name : cni
196- osVersion : ltsc2022
197198 dockerfilePath : $(ACN_DIR)/cni
198199 extraArgs : ' --build-arg CNI_AI_PATH=$(CNI_AI_PATH) --build-arg CNI_AI_ID=$(CNI_AI_ID)'
199200 archiveName : azure-cni
200201 archiveVersion : $(CNI_VERSION)
201202 imageTag : $(Build.BuildNumber)
202203 cns :
203204 name : cns
204- osVersion : ltsc2022
205205 dockerfilePath : $(ACN_DIR)/cns
206206 extraArgs : ' --build-arg CNS_AI_PATH=$(CNS_AI_PATH) --build-arg CNS_AI_ID=$(CNS_AI_ID)'
207207 archiveName : azure-cns
208208 archiveVersion : $(CNS_VERSION)
209209 imageTag : $(Build.BuildNumber)
210210 npm :
211211 name : npm
212- osVersion : ltsc2022
213212 dockerfilePath : $(ACN_DIR)/npm-windows
214213 extraArgs : ' --build-arg NPM_AI_PATH=$(NPM_AI_PATH) --build-arg NPM_AI_ID=$(NPM_AI_ID)'
215214 archiveName : azure-npm
216215 archiveVersion : $(NPM_VERSION)
217- # Note: Double check, I didn't notice a windows platform tag for npm in the Makefile
218216 imageTag : $(Build.BuildNumber)
219217 steps :
220218 - template : build/image.steps.yaml
@@ -233,10 +231,8 @@ stages:
233231 os : linux
234232 type : docker
235233 hostArchitecture : arm64
234+ vmImage : ' onebranch.azurecr.io/linux/ubuntu-2004-arm64:latest'
236235 variables :
237- # Use if Mariner does not work.
238- # This agent has qemu enabled, so it should be ok.
239- # LinuxContainerImage: $(LinuxContainerImage3)
240236 ob_outputDirectory : $(Build.SourcesDirectory)/out
241237 ob_artifactSuffix : _$(name)_linux_arm64
242238 ob_build_container : true
0 commit comments