Skip to content

Welcome to our weekly research support coffee hour on Zoom! Click here for more information.

Tag Retention Policy

Container registries can accumulate many image versions over time. Tag retention policies help automatically remove unused or old image tags to save storage space.

Instead of manually deleting images, administrators can define rules that determine which tags should be kept and which should be removed.

How to Configure Tag Retention

To configure tag retention, open the Project in Satama and go to Policy tab.

Policy tab

Click on Tag Retention section. Click on Add rule. A pop-up window will open

Add tag Retention

Create a rule specifying which images should be retained and which should be deleted.

For example,

  • Keep the latest 10 tags
  • Delete tags older than 30 days
  • Keep tags matching release- pattern*

Once configured, Satama will automatically apply the policy according to the defined schedule.

Warning

Tags removed by a retention policy are deleted automatically and permanently, without any further confirmation. Make sure your rules are correct before saving them, since deleted tags cannot be recovered.

Do you find this page useful?
Thank you for your feedback!
Thank you! Your feedback is appreciated.

Please let us know how we could improve this page by contacting us or by creating an issue in GitHub. You can also edit this page yourself and contribute your improvements by creating a pull request.