aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-11-05 18:28:51 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-07-19 11:38:51 +0200
commit91f1348f674439f9f997e67e163f6110249a4122 (patch)
tree493efa2768841fc476702c1da18c3225dd20ec49
parent50344e41438d9e0cfc32609e51eb14d6cf160c21 (diff)
add NOBUILD alias to NO_DOCKER_IMAGE_BUILD
-rw-r--r--jenkins-common.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/jenkins-common.sh b/jenkins-common.sh
index b393b05..ba15551 100644
--- a/jenkins-common.sh
+++ b/jenkins-common.sh
@@ -135,6 +135,10 @@ docker_images_require() {
local depends
local dir
+ if [ -n "$NOBUILD" ]; then
+ export NO_DOCKER_IMAGE_BUILD=1
+ fi
+
for i in $@; do
# Don't build images that are available on the private
# registry, if using it. Instead, pull the images to make sure