diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index df434f8..ea6ab65 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -79,21 +79,10 @@ try { 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() } } - // } - // withCredentials( - // [usernamePassword( - // credentialsId: env.BITBUCKET_CREDENTIALS_ID, - // passwordVariable: 'GIT_PASSWORD', - // usernameVariable: 'GIT_USERNAME' - // )] - // ) { - // sh "git tag ${env.APPLICATION_VERSION}" - // sh "git push https://${GIT_USERNAME}:${GIT_PASSWORD}@${env.GIT_REPOSITORY_PATH} ${env.APPLICATION_VERSION}" - // } } stage('Deploy') {