duneci-build-docker-image: set DUNECI_PARALLEL when building images

parent 019111e8
Pipeline #815 failed with stages
in 37 seconds
......@@ -13,7 +13,7 @@ docker-build() {
}
docker_opts=()
for var in ftp_proxy FTP_PROXY http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY; do
for var in DUNECI_PARALLEL ftp_proxy FTP_PROXY http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY; do
if [[ -n "${!var:-}" ]]; then
docker_opts+=(--build-arg="${var}=${!var}")
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment