Update Jenkinsfile

This commit is contained in:
ahoemann 2025-03-20 14:38:24 +01:00
parent d8c836d212
commit 20b4a54a67

5
Jenkinsfile vendored
View file

@ -13,8 +13,6 @@ pipeline {
} }
} }
stage('Build') { stage('Build') {
steps {
script {
docker.withRegistry('https://git.adrianux.net/ahoemann/') { docker.withRegistry('https://git.adrianux.net/ahoemann/') {
/* Build the container image */ /* Build the container image */
@ -23,9 +21,6 @@ pipeline {
/* Push the container to the custom Registry */ /* Push the container to the custom Registry */
dockerImage.push() dockerImage.push()
} }
/* Remove docker image*/
sh 'docker rmi -f adrianux:${env.BUILD_ID}'
}
} }
} }
} }