#11 Trying difference permutations to connect to the registry

This commit is contained in:
Luke Else 2024-02-16 13:04:04 +00:00
parent 2ec07edb7e
commit 31215585da

View File

@ -16,7 +16,6 @@ deploy:
services:
- docker:20.10.16-dind
script:
- docker login $CI_REGISTRY -u $CI_DEPLOY_USER --password-stdin <<<$CI_DEPLOY_PASSWORD
# - docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin <<< $CI_REGISTRY_PASSWORD
- docker build -t $CI_REGISTRY/group/project/image:latest .
- docker push $CI_REGISTRY/group/project/image:latest
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker pull $CI_REGISTRY/group/other-project:latest
- docker run $CI_REGISTRY/group/other-project:latest