diff options
Diffstat (limited to '.azurepipelines/templates/pr-gate-build-job.yml')
-rw-r--r-- | .azurepipelines/templates/pr-gate-build-job.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml index b8573b9..3999bb1 100644 --- a/.azurepipelines/templates/pr-gate-build-job.yml +++ b/.azurepipelines/templates/pr-gate-build-job.yml @@ -14,6 +14,7 @@ parameters: arch_list: ''
extra_install_step: []
usePythonVersion: ''
+ container: ''
# Build step
jobs:
@@ -72,6 +73,9 @@ jobs: pool:
vmImage: ${{ parameters.vm_image }}
+ ${{ if not(eq(parameters.container, '')) }}:
+ container: ${{ parameters.container }}
+
steps:
- template: pr-gate-steps.yml
parameters:
|