From 61f2b86746a67ea9a974b18e29fe9a1755c0be18 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Fri, 16 Feb 2024 13:18:41 +0000 Subject: [PATCH] #11 Added alias to registry to allow for connection. --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f438bf..b4ce4ee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,10 +13,11 @@ variables: # - pytest deploy: - image: docker:stable stage: deploy - services: - - docker:dind + image: $CI_REGISTRY/group/project/docker:20.10.16 + services: + - name: $CI_REGISTRY/group/project/docker:20.10.16-dind + alias: docker script: - docker build -t $CI_REGISTRY_IMAGE$CI_COMMIT_SHORT_SHA . - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY