add push stage
This commit is contained in:
parent
492e08ef3d
commit
de69b6f7b5
|
@ -25,7 +25,7 @@ pipeline {
|
||||||
stage("Tag image as latest") {
|
stage("Tag image as latest") {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh 'docker tag docker-registry1.in.thelinuxpro.net:5000/tlp/tlp_jekyll:0.0.1 docker-registry1.in.thelinuxpro.net:5000/tlp/tlp_jekyll:latest --push'
|
sh 'docker tag docker-registry1.in.thelinuxpro.net:5000/tlp/tlp_jekyll:0.0.1 docker-registry1.in.thelinuxpro.net:5000/tlp/tlp_jekyll:latest'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue