#11 Added alias to registry to allow for connection.

This commit is contained in:
Luke Else 2024-02-16 13:18:41 +00:00
parent 61e845c5b1
commit 61f2b86746

View File

@ -13,10 +13,11 @@ variables:
# - pytest
deploy:
image: docker:stable
stage: deploy
image: $CI_REGISTRY/group/project/docker:20.10.16
services:
- docker:dind
- 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