[26.06.20] Docker builder change
This commit is contained in:
parent
b6dcb0d6d0
commit
6ca2206622
@ -76,7 +76,7 @@ try {
|
|||||||
stage('Tag Repository') {
|
stage('Tag Repository') {
|
||||||
|
|
||||||
withDockerServer([uri: "${env.DOCKER_REPOSITORY_TCP}"]) {
|
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}")
|
def image = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:${env.APPLICATION_VERSION}")
|
||||||
image.push()
|
image.push()
|
||||||
def latest = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:latest")
|
def latest = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:latest")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user