summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-05-29 10:25:44 -0600
committermo khan <mo.khan@gmail.com>2020-05-29 10:25:44 -0600
commit539af20607e154e8cc0de49514387c2589b18ed7 (patch)
treecc585f8232d0fd3a82565fd981d418b93a4d076c /.gitlab
parenta8d9eac2cbe0c7863fc43d04d4a5be1c239be681 (diff)
Make sure that community contributions can pull in upstream image and load from cache
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab/build.yml b/.gitlab/build.yml
index a2b6fdb..ea543de 100644
--- a/.gitlab/build.yml
+++ b/.gitlab/build.yml
@@ -24,8 +24,8 @@ build-docker-image:
script:
- docker info
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- - docker pull $CI_REGISTRY_IMAGE:latest || true
- - docker build --cache-from $CI_REGISTRY_IMAGE:latest -t $TMP_IMAGE .
+ - docker pull registry.gitlab.com/gitlab-org/security-products/license-management:latest $CI_REGISTRY_IMAGE:latest || true
+ - docker build --cache-from registry.gitlab.com/gitlab-org/security-products/license-management:latest -t $TMP_IMAGE .
- docker image inspect $TMP_IMAGE --format='{{.Size}}'
- docker push $TMP_IMAGE