diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8bf139063809841a939e62e512f5e41e387fdf7..88bc2e60fe4794bd9b3e14f0e4f95a627394114a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,14 @@ default: retry: 2 tags: - docker + before_script: + - | + if [ $"AUTHPASSWORD" == "" ] + then + AUTH="" + else + AUTH="review:$AUTHPASSWORD@" + fi stages: - pre-build @@ -19,7 +27,7 @@ variables: # username is always "review" (without quotes) DOCKER_TLS_CERTDIR: "" - CI_REF: &ref af5b1dc8b8e1d8229e204c37eda52257382a703f + CI_REF: &ref b62b5caf33d4971a99879b0f001925eeebb7e16e include: # BUILD