diff --git a/Jenkinsfile b/Jenkinsfile index 13203e0..8b1ce5a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,6 +23,8 @@ pipeline { /* Push the container to the custom Registry */ dockerImage.push() } + /* Remove docker image*/ + sh 'docker rmi -f adrianux:${env.BUILD_ID}' } } }