Update docker login command in .gitlab-ci.yml to use --password-stdin for added security
This commit is contained in:
parent
8d1f698015
commit
855fbb3cdc
@ -14,7 +14,7 @@ deploy_to_dockerhub:
|
||||
services:
|
||||
- docker:dind
|
||||
before_script:
|
||||
- docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
|
||||
- echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
|
||||
- docker buildx create --use
|
||||
script:
|
||||
- docker buildx build --push --tag rogsme/bitwarden-to-keepass:latest .
|
||||
|
Loading…
x
Reference in New Issue
Block a user