Commit a610577e authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'lkorbasiewicz-master-patch-66560' into 'master'

Update the cleanup policy docs

See merge request gitlab-org/gitlab!57573
parents d08ed2f0 a6dedd9c
...@@ -499,11 +499,11 @@ The cleanup policy: ...@@ -499,11 +499,11 @@ The cleanup policy:
1. Collects all tags for a given repository in a list. 1. Collects all tags for a given repository in a list.
1. Excludes the tag named `latest` from the list. 1. Excludes the tag named `latest` from the list.
1. Evaluates the `name_regex` (tags to expire), excluding non-matching names from the list. 1. Evaluates the `name_regex` (tags to expire), excluding non-matching names from the list.
1. Excludes from the list any tags matching the `name_regex_keep` value (tags to preserve).
1. Excludes any tags that do not have a manifest (not part of the options in the UI). 1. Excludes any tags that do not have a manifest (not part of the options in the UI).
1. Orders the remaining tags by `created_date`. 1. Orders the remaining tags by `created_date`.
1. Excludes from the list the N tags based on the `keep_n` value (Number of tags to retain). 1. Excludes from the list the N tags based on the `keep_n` value (Number of tags to retain).
1. Excludes from the list the tags more recent than the `older_than` value (Expiration interval). 1. Excludes from the list the tags more recent than the `older_than` value (Expiration interval).
1. Excludes from the list any tags matching the `name_regex_keep` value (tags to preserve).
1. Finally, the remaining tags in the list are deleted from the Container Registry. 1. Finally, the remaining tags in the list are deleted from the Container Registry.
WARNING: WARNING:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment