.gitlab-ci.yml: Fix the registry as "registry.gitlab.com"
authorAndrew Bartlett <abartlet@samba.org>
Wed, 13 Feb 2019 03:14:13 +0000 (16:14 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Feb 2019 01:18:30 +0000 (02:18 +0100)
This is important as our team docker images are only in this registry, but
the .gitlab-ci.yml file is also run on other private GitLab hosts.

This partially undoes 8989916b5af6fed9c4c63035d4488583396b8c5a

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
.gitlab-ci.yml

index ce924c2..fec12c6 100644 (file)
@@ -2,13 +2,14 @@
 
 
 variables:
+  SAMBA_BUILD_GITLAB_CI_REGISTRY: registry.gitlab.com
   SAMBA_BUILD_IMAGES_PROJECT: samba-team/samba
   SAMBA_BUILD: latest
   GIT_STRATEGY: fetch
   GIT_DEPTH: "3"
 
 .shared_template:
-  image: $CI_REGISTRY/$SAMBA_BUILD_IMAGES_PROJECT:$SAMBA_BUILD
+  image: $SAMBA_BUILD_GITLAB_CI_REGISTRY/$SAMBA_BUILD_IMAGES_PROJECT:$SAMBA_BUILD
   stage: build
   tags:
     - docker