Update Jenkinsfile

changed the label for the remove not used images latest -> dev
This commit is contained in:
Miriam Baglioni 2024-06-28 10:24:13 +02:00
parent 9aeae92eb5
commit db415e8823
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -42,7 +42,7 @@ pipeline {
stage('Remove Unused docker image') { stage('Remove Unused docker image') {
steps{ steps{
sh "docker rmi $hubname/$imagename:$BUILD_NUMBER" sh "docker rmi $hubname/$imagename:$BUILD_NUMBER"
sh "docker rmi $hubname/$imagename:latest" sh "docker rmi $hubname/$imagename:dev"
} }
} }