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