From 04ee311003f5c259308f808cf94f7f8440814bb8 Mon Sep 17 00:00:00 2001 From: andyjk15 Date: Wed, 24 Jun 2020 14:03:23 +0100 Subject: [PATCH] [24.06.20] Test with docker repo DO --- configuration/pipelines/build.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index 4d2b4d9..41a1673 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -73,14 +73,14 @@ try { stage('Tag Repository') { - withDockerServer([uri: "${env.DOCKER_REPOSITORY_TCP}"]) { +// withDockerServer([uri: "${env.DOCKER_REPOSITORY_TCP}"]) { withDockerRegistry([credentialsId: 'DORegistry', url: "${env.DOCKER_REPOSITORY_URL}"]) { def image = docker.build("db-gateway:${env.APPLICATION_VERSION}") image.push() def latest = docker.build("db-gateway:latest") latest.push() } - } +// } withCredentials( [usernamePassword( credentialsId: env.GITHUB_CREDENTIALS_ID,