From 70fd6d19bb0ffc54f0eaf2a5039358547215083d Mon Sep 17 00:00:00 2001 From: Dmytro Bogatov <dmytro@dbogatov.org> Date: Fri, 26 Jun 2020 22:39:21 -0400 Subject: [PATCH] Update CI. --- .gitlab-ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8bf139..88bc2e6 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 -- GitLab