Update Jenkinsfile
changed the label for the remove not used images latest -> dev
This commit is contained in:
parent
9aeae92eb5
commit
db415e8823
|
@ -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"
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue