Add cleanup step to remove untagged images by default

This commit is contained in:
Stefan Reimer 2023-08-08 10:43:14 +00:00
parent 0821e910f5
commit f00e541798

View File

@ -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'
}
}
}
}
}