summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/scripts/docker_run.sh2
-rwxr-xr-xtools/ci/scripts/docker_run_cross.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/ci/scripts/docker_run.sh b/tools/ci/scripts/docker_run.sh
index 5c0cd1197..2fc292df8 100755
--- a/tools/ci/scripts/docker_run.sh
+++ b/tools/ci/scripts/docker_run.sh
@@ -5,7 +5,7 @@ echo "PACKAGES: ${PACKAGES}"
echo "COMMAND: ${COMMAND}"
echo "JOBS: ${JOBS}"
-docker pull ${IMAGE}
+docker pull ${IMAGE} || exit 1
docker run \
--volume=$(pwd):/build:rw \
-e PACKAGES="${PACKAGES}" \
diff --git a/tools/ci/scripts/docker_run_cross.sh b/tools/ci/scripts/docker_run_cross.sh
index e07df0cf4..5c113f85c 100755
--- a/tools/ci/scripts/docker_run_cross.sh
+++ b/tools/ci/scripts/docker_run_cross.sh
@@ -6,7 +6,7 @@ echo "CROSS: ${CROSS}"
echo "COMMAND: ${COMMAND}"
echo "JOBS: ${JOBS}"
-docker pull ${IMAGE}
+docker pull ${IMAGE} || exit 1
docker run \
--volume=$(pwd):/build:rw \
-e PACKAGES="${PACKAGES}" \