feat(zot): keep only latest for the backstage repository
yaml / yaml (pull_request) Successful in 33s

Backstage dev images are tracked by digest behind :latest, so the per-commit
sha tags pushed before that change only accumulate. Retain every tag in all
other repositories via an explicit catch-all policy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-01 19:34:38 +00:00
co-authored by Claude Opus 5.5
parent a4e2c60346
commit 0c7728fe0b
2 changed files with 20 additions and 2 deletions
+15
View File
@@ -27,6 +27,21 @@ configFiles:
"gc": true,
"gcDelay": "24h",
"gcInterval": "24h",
"retention": {
"delay": "24h",
"policies": [
{
"repositories": ["panxiao81/backstage"],
"deleteUntagged": true,
"keepTags": [{ "patterns": ["^latest$"] }]
},
{
"repositories": ["**"],
"deleteUntagged": true,
"keepTags": [{ "patterns": [".*"] }]
}
]
},
"storageDriver": {
"name": "s3",
"region": "us-east-1",