Skip to main content

Retention rule reference

Field reference for Add a retention rule and Manage retention rules & runs.

Retention count/days options​

OptionDescription
retain the most recently pushed # imagesKeep the specified number of most recently pushed images.
retain the most recently pulled # imagesKeep the specified number of most recently pulled images.
retain the images pushed within the last # daysKeep images pushed within the specified number of days.
retain the images pulled within the last # daysKeep images pulled within the specified number of days.
retain alwaysAlways retain images under this rule.

Schedule frequency options​

OptionDescription
NoneNo schedule — run manually from Portal.
HourlyRun once every hour.
DailyRun every day at 7:00 AM.
WeeklyRun once every week.
CustomEnter a custom cron expression.

See also​