업데이트 'Jenkinsfile'

This commit is contained in:
2023-03-24 13:01:36 +09:00
parent b1164b0376
commit df82cf91a6

6
Jenkinsfile vendored
View File

@@ -48,15 +48,15 @@ podTemplate(
container("docker") {
sh 'echo 2222'
sh 'echo 3333'
docker.withRegistry("http://10.43.250.34:5000", 'REGISTRY_CREDENTIALS') {
sh 'echo 4444'
/* sh 'docker build -t myimage:latest .' */
sh 'docker login -u mindol1004 -p '$awlswn1318a' https://10.43.250.34:5000/v2/'
def dockerImage = docker.build("${image}:${tag}", './')
dockerImage.push()
dockerImage.push('latest')
sh 'echo 5555'
}
}
}
sh 'echo 6666'
} catch(e) {