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:
Niels de Vos 2020-11-17 10:08:36 +01:00 committed by mergify[bot]
parent d7172453ca
commit a8a6ef27a6

View File

@ -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 --user=${CREDS_USER} --password='${CREDS_PASSWD}'"
ssh "podman login --username=${CREDS_USER} --password='${CREDS_PASSWD}'"
}
// base_image is like ceph/ceph:v15