Hello,
we generate various docker images during development and push them to CI. They are usually short lived and used for a few days max. Final and production images always have the same tags in format - (eg apache:1.2.3).
I’m trying to create a clean policy, that keeps production images, but delete all other like:
apache:master-test
apache:master
apache:branch-name-…
apache:1.2.3-gg94ngi
apache:1.2.3-fixed-issue
…
As regex is pretty basic is Nexus, is there a good and simple way to keep production images and delete all other?
Anyone has any ideas?