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,