build: run on debian-latest and prune old dated tags #2

Merged
kristofferopsahl merged 1 commit from build-on-debian-latest into main 2026-09-18 20:49:59 +02:00

Moves the last day-to-day job off the upstream debian-trixie-slim passthrough: the debian-ci build now runs on debian-latest (the image builds itself). The smoke test still gates the push, and the passthrough labels stay on the runner as the recovery path if a pushed image can't run the build.

Also prunes after pushing — keeps the two newest dated tags, deletes older ones. The Forgejo box has ~6 GB free and every weekly rebuild adds ~1 GB of layers, so unbounded dated tags would fill the disk within weeks.

This PR's own build run exercises building debian-ci inside debian-ci.

🤖 Generated with Claude Code

Moves the last day-to-day job off the upstream `debian-trixie-slim` passthrough: the `debian-ci` build now runs on `debian-latest` (the image builds itself). The smoke test still gates the push, and the passthrough labels stay on the runner as the recovery path if a pushed image can't run the build. Also prunes after pushing — keeps the two newest dated tags, deletes older ones. The Forgejo box has ~6 GB free and every weekly rebuild adds ~1 GB of layers, so unbounded dated tags would fill the disk within weeks. This PR's own build run exercises building `debian-ci` inside `debian-ci`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
build: run on debian-latest and prune old dated tags
All checks were successful
Build CI Image / Build debian-ci (pull_request) Successful in 4m8s
ab748712e5
- The build job moves from the upstream debian-trixie-slim passthrough to
  debian-latest, so nothing in day-to-day CI depends on Docker Hub. The
  passthrough labels stay on the runner as the recovery path.
- After pushing, keep only the two newest dated tags. The Forgejo box has
  ~6 GB free and every rebuild adds ~1 GB of layers.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
kristofferopsahl deleted branch build-on-debian-latest 2026-09-18 20:49:59 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kristofferopsahl/ci-images!2
No description provided.