#11 Added alias to registry to allow for connection.
This commit is contained in:
parent
61e845c5b1
commit
61f2b86746
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user