[extensions-web/barthalion/ci-shared-runners] Pass registry password with -p



commit 1dbc2e2a2b6bc089c8d696bed4a67055f28645a1
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Jul 20 18:45:58 2020 +0200

    Pass registry password with -p

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c3ef4d7..7b9bc6d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,7 @@ build:
     # using the vfs driver, and this causes errors.
     - sed -i '/^mountopt =.*/d' /etc/containers/storage.conf
 
-    - echo $CI_REGISTRY_PASSWORD | podman login -u $CI_REGISTRY_USER $CI_REGISTRY
+    - podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
     - podman build --cgroup-manager=cgroupfs -f openshift/docker/Dockerfile -t 
registry.gitlab.gnome.org/infrastructure/extensions-web:${CI_COMMIT_SHORT_SHA} .
     - podman push ${IMAGE_NAME}:${CI_COMMIT_SHORT_SHA}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]