summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/dockerretry.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/scripts/dockerretry.sh')
-rwxr-xr-xtools/ci/scripts/dockerretry.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ci/scripts/dockerretry.sh b/tools/ci/scripts/dockerretry.sh
index 121878cbb..58dcdb5b1 100755
--- a/tools/ci/scripts/dockerretry.sh
+++ b/tools/ci/scripts/dockerretry.sh
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
# skip if we not in docker
-if [[ ${CI_RUNNER_TAGS} != *"docker"* ]]; then
+if [[ ${CI_RUNNER_ID} != "" ]];
+then
echo "Running from shell. Skipping $*"
exit 0
fi