Update CI pipeline command to securely login to GitLab registry
This commit is contained in:
parent
7a88ced828
commit
8d1f698015
@ -30,7 +30,7 @@ deploy_to_gitlab:
|
||||
services:
|
||||
- docker:dind
|
||||
before_script:
|
||||
- docker login registry.gitlab.com -u $GITLAB_USERNAME -p $GITLAB_PASSWORD
|
||||
- echo "$GITLAB_PASSWORD" | docker login registry.gitlab.com -u "$GITLAB_USERNAME" --password-stdin
|
||||
- docker buildx create --use
|
||||
script:
|
||||
- docker buildx build --push --tag registry.gitlab.com/rogs/bitwarden-to-keepass:latest .
|
||||
|
Loading…
x
Reference in New Issue
Block a user