diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index ea6ab65..e10aa31 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -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() } } }