forked from mindol1004/msa-kiz-app
업데이트 'Jenkinsfile'
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -48,13 +48,13 @@ podTemplate(
|
||||
container("docker") {
|
||||
sh 'echo 2222'
|
||||
sh 'echo 3333'
|
||||
docker.withRegistry("http://10.43.250.34:5000", 'REGISTRY_CREDENTIALS') {
|
||||
sh 'echo 4444'
|
||||
def dockerImage = docker.build("${image}:${tag}", './')
|
||||
|
||||
/* 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'
|
||||
|
||||
Reference in New Issue
Block a user