#11 Added alias to registry to allow for connection.
This commit is contained in:
parent
61e845c5b1
commit
61f2b86746
@ -13,10 +13,11 @@ variables:
|
|||||||
# - pytest
|
# - pytest
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: docker:stable
|
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
image: $CI_REGISTRY/group/project/docker:20.10.16
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- name: $CI_REGISTRY/group/project/docker:20.10.16-dind
|
||||||
|
alias: docker
|
||||||
script:
|
script:
|
||||||
- docker build -t $CI_REGISTRY_IMAGE$CI_COMMIT_SHORT_SHA .
|
- docker build -t $CI_REGISTRY_IMAGE$CI_COMMIT_SHORT_SHA .
|
||||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||||
|
Loading…
Reference in New Issue
Block a user