feat(zot): keep only latest for the backstage repository
yaml / yaml (pull_request) Successful in 33s
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user