mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
ci: use "podman login --username" instead of "--user"
It seems the --user option does not exist, but is called --username. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
d7172453ca
commit
a8a6ef27a6
@ -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}'
|
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')]) {
|
withCredentials([usernamePassword(credentialsId: 'container-registry-auth', usernameVariable: 'CREDS_USER', passwordVariable: 'CREDS_PASSWD')]) {
|
||||||
ssh "podman login --user=${CREDS_USER} --password='${CREDS_PASSWD}'"
|
ssh "podman login --username=${CREDS_USER} --password='${CREDS_PASSWD}'"
|
||||||
}
|
}
|
||||||
|
|
||||||
// base_image is like ceph/ceph:v15
|
// base_image is like ceph/ceph:v15
|
||||||
|
Loading…
Reference in New Issue
Block a user