[19.02.20] Trying to fix node issue

This commit is contained in:
andyjk15 2020-02-19 12:51:25 +00:00
parent 2cc16444e0
commit adb2382a68

View File

@ -75,12 +75,12 @@ try {
stage('Tag Repository') {
withDockerServer([uri: "${env.DOCKER_REPOSITORY_TCP}"]) {
withDockerServer([uri: "tcp://registry.cryptosky.me:4243"]) {
withDockerRegistry([credentialsId: 'Registry', url: "${env.DOCKER_REPOSITORY_URL}"]) {
def image = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:${env.APPLICATION_VERSION}")
image.push()
// def latest = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:latest")
// latest.push()
def latest = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:latest")
latest.push()
}
}
}