Skip to content

Tag only latest and drop the image cleanup - #9

Merged
externl merged 1 commit into
mainfrom
claude/tag-only-latest
Sep 30, 2026
Merged

externl merged 1 commit into
mainfrom
claude/tag-only-latest

Conversation

@externl

@externl externl commented Sep 30, 2026

Copy link
Copy Markdown
Member

The image cleanup is broken: actions/delete-package-versions counts package versions, and a multi-arch image is three of them, so keeping 10 versions splits images and leaves tags pointing at deleted manifests. Container registry storage is free, so the replacement is no cleanup at all.

  • Tag the image latest only, dropping the <sha> tag.
  • Drop the cleanup job.

There is no older image to roll back to. A bad deployment or a regression is fixed by reverting the commit on main through a PR, which rebuilds and deploys.

@externl externl added the github_actions Pull requests that update GitHub Actions code label Sep 30, 2026
@externl
externl requested a balanced review from Copilot September 30, 2026 15:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The workflow changes match the stated deployment and retention strategy without introducing unresolved issues.

Review effort: Balanced
Findings: None

What changed in this PR

Removes unsafe multi-architecture image cleanup and retains only latest container tags.

Changes:

  • Drops the commit-SHA GHCR tag.
  • Removes the package cleanup job.
File Description
.github/​workflows/​ci.yml Publishes only latest tags and preserves all registry versions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@externl
externl requested review from pepone and a balanced review from Copilot September 30, 2026 15:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The workflow changes match the stated deployment and retention strategy without leaving invalid dependencies.

Review effort: Balanced
Findings: None

@pepone pepone left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Codex (GPT-6): LGTM.

@externl
externl merged commit 07fcbc5 into main Sep 30, 2026
5 checks passed
@externl
externl deleted the claude/tag-only-latest branch September 30, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants