[tracker-oci-images/sam/podman] Another attempt to fix push error.



commit fb23fc5b33b7cfa3afdd8e134d43c295aed30fba
Author: Sam Thursfield <sam afuera me uk>
Date:   Wed Dec 11 12:01:17 2019 +0100

    Another attempt to fix push error.

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 638630b..436b25c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,7 +21,7 @@ variables:
     - sed -i '/^mountopt =.*/d' /etc/containers/storage.conf
 
     - podman build --cgroup-manager=cgroupfs --format=docker --pull -f ${DOCKERFILE} -t ${IMAGE} 
${CONTEXT_DIR}
-    - podman push ${IMAGE}
+    - podman push --creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD ${IMAGE}
 
 # Expects $ARCH variable which should be the architexcture of the image ex. x86_64
 # Expects $DISTRO_NAME variable which should be the name of the distro image ex. ubuntu


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