summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.azurepipelines/templates/pr-gate-build-job.yml4
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 b8573b90da..3999bb1668 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: