From 8d1f698015cc0c06e195f3bca67085f7bb96455a Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sun, 15 Dec 2024 14:52:00 -0300 Subject: [PATCH] Update CI pipeline command to securely login to GitLab registry --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7f1f3d8..d0adb8e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 .