Commit 91bd2e5d authored by Marco Ortiz's avatar Marco Ortiz

Preparación para la integración con el nuevo jenkins

parent 72844f3e
...@@ -84,16 +84,16 @@ pipeline { ...@@ -84,16 +84,16 @@ pipeline {
script { script {
docker.withRegistry(url, credentials ) { docker.withRegistry(url, credentials ) {
sh "docker push ${imagename}:${VERSION}" sh "docker push ${imagename}:${VERSION}"
sh "docker tag ${imagename}:${VERSION} ${imagename}:latest"
sh "docker push ${imagename}:latest" sh "docker push ${imagename}:latest"
} }
} }
} }
} }
// stage('Remove Unused docker image') { stage('Remove Unused docker image') {
// steps{ steps{
// sh "docker rmi $tag_name/$imagename:$PACKAGE_VERSION" sh "docker rmi ${imagename}:latest"
// sh "docker rmi $tag_name/$imagename:latest" }
// } }
// }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment