Add cleanup step to remove untagged images by default
This commit is contained in:
parent
0821e910f5
commit
f00e541798
@ -68,6 +68,13 @@ def call(Map config=[:]) {
|
||||
}
|
||||
}
|
||||
|
||||
// Basic registry retention removing untagged images
|
||||
stage('cleanup') {
|
||||
when { not { changeRequest() } }
|
||||
steps {
|
||||
sh 'make rm-remote-untagged'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user