提交 1bd7a6a4 编写于 作者: T test

fix docker registry url no protocol bug


Former-commit-id: 4c9f8132ff878105bbcc5789d0a9c023a8b242a8
上级 ee546c00
......@@ -27,7 +27,7 @@ container('publish-images') {
sh "docker rmi ${dockerRegistryURL}/${imageName}"
}
docker.withRegistry("${dockerRegistryURL}", "${params.DOCKER_CREDENTIALS_ID}") {
docker.withRegistry("https://${dockerRegistryURL}", "${params.DOCKER_CREDENTIALS_ID}") {
customImage.push()
}
} catch (exc) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册