[26.06.20] Docker builder change

This commit is contained in:
andyjk15 2020-06-26 14:06:14 +01:00
parent b6dcb0d6d0
commit 6ca2206622

View File

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