#11 Updated pipeline to pass password via stdin

This commit is contained in:
Luke Else 2024-02-16 12:55:49 +00:00
parent cc090daa6d
commit 50ec369dae

View File

@ -16,6 +16,6 @@ deploy:
services: services:
- docker:20.10.16-dind - docker:20.10.16-dind
script: script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - 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