mirror of https://github.com/milvus-io/milvus.git
[skip ci] Fix push image groovy style. (#10842)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>pull/10204/head
parent
997fed0ddd
commit
d19511341d
|
@ -51,7 +51,7 @@ pipeline {
|
|||
docker logout
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
withCredentials([usernamePassword(credentialsId: "${env.HARBOR_CREDENTIAL_ID}", usernameVariable: 'HARBOR_USERNAME', passwordVariable: 'HARBOR_PASSWORD')]) {
|
||||
sh 'docker login harbor.zilliz.cc -u ${HARBOR_USERNAME} -p ${HARBOR_PASSWORD}'
|
||||
sh """
|
||||
|
@ -61,6 +61,7 @@ pipeline {
|
|||
docker logout
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue