Skip to content

Clean up old ACR images during release#319

Merged
dkhalife merged 1 commit into
mainfrom
dkhalife/acr-image-cleanup
May 24, 2026
Merged

Clean up old ACR images during release#319
dkhalife merged 1 commit into
mainfrom
dkhalife/acr-image-cleanup

Conversation

@dkhalife
Copy link
Copy Markdown
Owner

@dkhalife dkhalife commented May 24, 2026

Adds an ACR cleanup step to the canary release job in full-release.yml

After the API and MCP images are pushed, the new step iterates both task-wizard-api and task-wizard-mcp repositories and deletes any manifest whose lastUpdateTime is older than 3 days, while preserving manifests tagged canary or release so the active deployment targets are never removed.

This keeps the registry from accumulating stale per-version images over time.

Add a cleanup step after the API and MCP image pushes in the canary release job. Deletes manifests older than 3 days for both task-wizard-api and task-wizard-mcp, preserving any tagged 'canary' or 'release'.
Copilot AI review requested due to automatic review settings May 24, 2026 21:22
@dkhalife dkhalife merged commit 0632152 into main May 24, 2026
5 of 6 checks passed
@dkhalife dkhalife deleted the dkhalife/acr-image-cleanup branch May 24, 2026 21:24
@dkhalife dkhalife review requested due to automatic review settings May 24, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant