Commit 1bd7a6a4 authored by test's avatar test
Browse files

fix docker registry url no protocol bug


Former-commit-id: 4c9f8132ff878105bbcc5789d0a9c023a8b242a8
parent ee546c00
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {