Verified Commit ff92d400 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

also export proxy variables in capitals

parent b3e71511
Pipeline #2322 failed with stage
in 66 minutes and 34 seconds
...@@ -11,7 +11,7 @@ options=( ...@@ -11,7 +11,7 @@ options=(
-v /srv/gitlab-runner/config:/etc/gitlab-runner -v /srv/gitlab-runner/config:/etc/gitlab-runner
) )
for v in ftp_proxy http_proxy https_proxy no_proxy; do for v in ftp_proxy http_proxy https_proxy no_proxy FTP_PROXY HTTP_PROXY HTTPS_PROXY NO_PROXY; do
if [ -v ${v} ]; then if [ -v ${v} ]; then
options+=(-e ${v}="${!v}") options+=(-e ${v}="${!v}")
fi 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