[26.06.20] Pipeline Changes
This commit is contained in:
parent
35e21c35a1
commit
9239ed1e82
@ -68,9 +68,9 @@ try {
|
|||||||
|
|
||||||
withDockerServer([uri: "${env.DOCKER_REPOSITORY_TCP}"]) {
|
withDockerServer([uri: "${env.DOCKER_REPOSITORY_TCP}"]) {
|
||||||
// withDockerRegistry([credentialsId: 'Registry', url: "${env.DOCKER_REPOSITORY_URL}"]) {
|
// withDockerRegistry([credentialsId: 'Registry', url: "${env.DOCKER_REPOSITORY_URL}"]) {
|
||||||
def image = docker.build("${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}")
|
def image = docker.build("${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}")
|
||||||
// image.push()
|
// image.push()
|
||||||
def latest = docker.build("${env.APPLICATION_NAME}:latest")
|
def latest = docker.build("${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:latest")
|
||||||
// latest.push()
|
// latest.push()
|
||||||
// }
|
// }
|
||||||
sh "docker tag ${image} ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}"
|
sh "docker tag ${image} ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user