From b5123e61349a93c52d0b83a3a28649672371b057 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 17 Nov 2020 10:41:23 +0100 Subject: [PATCH] ci: use podman to login on the CI registry The CI registry contains several container images that can be pulled instead of using Docker Hub. Signed-off-by: Niels de Vos --- mini-e2e.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mini-e2e.groovy b/mini-e2e.groovy index 821d7aa9e..21e0d38b1 100644 --- a/mini-e2e.groovy +++ b/mini-e2e.groovy @@ -99,7 +99,7 @@ node('cico-workspace') { def base_image = ssh 'source /opt/build/go/src/github.com/ceph/ceph-csi/build.env && echo ${BASE_IMAGE}' withCredentials([usernamePassword(credentialsId: 'container-registry-auth', usernameVariable: 'CREDS_USER', passwordVariable: 'CREDS_PASSWD')]) { - ssh "podman login --username=${CREDS_USER} --password='${CREDS_PASSWD}'" + ssh "podman login --username=${CREDS_USER} --password='${CREDS_PASSWD}' ${ci_registry}" } // base_image is like ceph/ceph:v15