Files
ci-templates/README.md
T
jiang 68c8a98553
Runner Canary / runner-canary (push) Successful in 2s
feat(ci): retain recent release images
2026-08-18 10:44:02 +08:00

15 lines
563 B
Markdown

# ci-templates
Reusable offline-safe CI/CD workflows.
## Container release retention
After a tagged release passes candidate verification and is promoted to Dev, the
container workflow keeps the current immutable `sha-<commit>` image and the most
recent previous release by default. Set `release_retention_count` on the caller
to retain a different positive number.
Retention only matches versions in `sha-` followed by a 40-character commit
hash. Registry versions named `sha256:*`, `ci-cache`, or anything else are never
selected for deletion by this step.