andrey-pohilko / registry-cli

Scripts for easy manipulation of docker-registry from command line (and from scripts)
GNU General Public License v3.0
895 stars 216 forks source link

bugfix: allow setting the number of tags to keep to zero #114

Open silenceshell opened 9 months ago

silenceshell commented 9 months ago

We should allow setting the number of tags to keep to zero, to delete those images who have only one tag.

-n [N], --num [N]     Set the number of tags to keep(10 if not set)