[librsvg-oci-images: 2/3] Pass the docker password through stdin, not an env var



commit 2b6f81745d01cfed08106cb3db860750793fe8f4
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Jun 12 15:34:32 2018 -0500

    Pass the docker password through stdin, not an env var
    
    This should remove a warning.

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5808fa6..325b621 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,7 +17,7 @@ stages:
 .base_template: &base_build
     script:
         - cd ${DIR}
-        - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
+        - echo ${CI_JOB_TOKEN} | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
         - docker build --pull -f ${OCI_YML} -t ${IMAGE} .
         - docker push ${IMAGE}
 


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