You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Have an issue keeping old tags that are specified in --keep-tags
Here is my command: docker run --rm anoxis/registry-cli -r http://registry:5000 --keep-by-hours 7300 --dry-run -i ubuntu --keep-tags 18.04 16.04
and here what I get
Will delete tag: 16.04 timestamp: 2017-11-04T09:45:35.219223981Z
Will delete tag: 18.04-2019-08-27 timestamp: 2019-08-27T13:07:39.539391663Z
I'd expect to keep both "newer" images and also 16.04 and 18.04 tags.
Please advise what is wrong in my command, otherwise please fix.
I believe all keep options should have priority over all delete options.
The text was updated successfully, but these errors were encountered:
Yes, it's definitely a bug. I've tested it without "extra" options: docker run --rm anoxis/registry-cli -r http://registry:5000 -d --dry-run --keep-tags 16.04
and still
Getting digest for tag 16.04
Keep digest sha256:88a0478aaf41fa07dfbd788f12dc160b13a4cadf041714828e097ab503e8b037 for tag 16.04
tag: 16.04
deleting tag 16.04
Hi,
Have an issue keeping old tags that are specified in --keep-tags
Here is my command:
docker run --rm anoxis/registry-cli -r http://registry:5000 --keep-by-hours 7300 --dry-run -i ubuntu --keep-tags 18.04 16.04
and here what I get
I'd expect to keep both "newer" images and also 16.04 and 18.04 tags.
Please advise what is wrong in my command, otherwise please fix.
I believe all
keep
options should have priority over alldelete
options.The text was updated successfully, but these errors were encountered: