about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.azure-pipelines/steps/run.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.azure-pipelines/steps/run.yml b/.azure-pipelines/steps/run.yml
index 4e7889a1d22..a0d92cc4d4e 100644
--- a/.azure-pipelines/steps/run.yml
+++ b/.azure-pipelines/steps/run.yml
@@ -67,7 +67,13 @@ steps:
   condition: and(succeeded(), eq(variables['IMAGE'], 'mingw-check'))
   displayName: Verify the publish_toolstate script works
 
-- script: sh src/ci/run.sh
+- bash: |
+    set -e
+    if [ "$IMAGE" = ""]; then
+      src/ci/run.sh
+    else
+      src/ci/docker/run.sh $IMAGE
+    fi
   timeoutInMinutes: 180
   env:
     CI: true