#11 Updated pipeline to pass token via stdin
This commit is contained in:
parent
50ec369dae
commit
2ec07edb7e
@ -16,6 +16,7 @@ deploy:
|
|||||||
services:
|
services:
|
||||||
- docker:20.10.16-dind
|
- docker:20.10.16-dind
|
||||||
script:
|
script:
|
||||||
- docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin <<< $CI_REGISTRY_PASSWORD
|
- 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 build -t $CI_REGISTRY/group/project/image:latest .
|
||||||
- docker push $CI_REGISTRY/group/project/image:latest
|
- docker push $CI_REGISTRY/group/project/image:latest
|
Loading…
Reference in New Issue
Block a user