Cleanup docker local image after build and push
This commit is contained in:
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@@ -82,6 +82,7 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
cleanup {
|
cleanup {
|
||||||
cleanWs()
|
cleanWs()
|
||||||
|
sh "docker image rm ${docker_tag} ${docker_tag_version}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user