Skip to content

Commit e7aebf0

Browse files
author
Sheyla Trudo
committed
fixup! Separate Build Changes
1 parent 889a931 commit e7aebf0

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

.pipelines/containers/container-template.jobs.yaml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,24 @@ jobs:
1919
- ${{ each image in parameters.images }}:
2020
- job: ${{ replace(image, '-', '_') }}_${{ parameters.os }}_${{ parameters.arch }}
2121
displayName: Build Images
22-
pool:
23-
arch: ${{ parameters.arch }}
24-
os: ${{ parameters.os }}
25-
${{ if eq(parameters.os, 'windows') }}:
26-
name: $(BUILD_POOL_NAME_DEFAULT_WINDOWS)
27-
${{ elseif eq(parameters.os, 'linux') }}:
28-
${{ if eq(parameters.arch, 'amd64') }}:
29-
name: $(BUILD_POOL_NAME_DEFAULT)
30-
${{ elseif eq(parameters.arch, 'arm64') }}:
31-
name: $(BUILD_POOL_NAME_LINUX_ARM64)
32-
22+
# pool:
23+
# arch: ${{ parameters.arch }}
24+
# os: ${{ parameters.os }}
25+
# ${{ if eq(parameters.os, 'windows') }}:
26+
# name: $(BUILD_POOL_NAME_DEFAULT_WINDOWS)
27+
# ${{ elseif eq(parameters.os, 'linux') }}:
28+
# ${{ if eq(parameters.arch, 'amd64') }}:
29+
# name: $(BUILD_POOL_NAME_DEFAULT)
30+
# ${{ elseif eq(parameters.arch, 'arm64') }}:
31+
# name: $(BUILD_POOL_NAME_LINUX_ARM64)
3332
templateContext:
33+
containers:
34+
${{ if eq(parameters.os, 'windows') }}:
35+
default_windows_container:
36+
image: onebranch.azurecr.io/windows/ltsc2019/vse2022:latest
37+
${{ elseif eq(parameters.os, 'linux') }}:
38+
default_linux_container:
39+
image: onebranch.azurecr.io/linux/ubuntu-2204:latest
3440
outputs:
3541
- output: pipelineArtifact
3642
targetPath: $(System.DefaultWorkingDirectory)/output

0 commit comments

Comments
 (0)