The images on ghcr.io/oorabona are rebuilt whenever an upstream release, a base image or a dependency changes. A rebuild points the tag at a new digest. The registry cleanup now keeps the digest the tag used to name for 30 days before deleting it.
| Before | Now | |
|---|---|---|
| Digest replaced by a rebuild | Deleted at the next daily cleanup | Kept for 30 days, then deleted |
| Its per-platform images and attestations | Deleted with it | Kept and deleted with it |
| How it shows in the package | Not listed | Tag superseded-<YYYYMMDD>-<digest> |
| A pin on the replaced digest | Fails to pull within a day | Pulls for 30 days |
What changed
A consumer that pins ghcr.io/oorabona/<container>:<tag>@sha256:<digest> names one exact image. When the tag was rebuilt, that digest lost its tag, and the next daily cleanup deleted untagged versions that no published image referenced. A pin taken the day before could fail to pull the day after. A machine that still had the image in its local cache kept running it, but a new machine could not pull it.
The cleanup now treats a digest that lost its tag as superseded rather than unused. The first daily run that finds it tags it superseded-<YYYYMMDD>-<digest>, with that run’s date. While the date is less than 30 days old, the digest is kept like any published image, and so are its per-platform images and attestations. On the first run after the 30 days, the superseded tag is out of date, and the digest is deleted together with them.
The superseded tags are retention records. They are not releases, they are never mirrored to Docker Hub, and the dashboard does not list them.
The 30 days apply to a tag that is still published and gets rebuilt. A tag that is no longer published at all, such as a version dropped from the build matrix, is still removed with its digest by the next cleanup. A digest’s 30 days also count from the first time it was replaced, even if the same digest is published again later.
If you pin by digest
- Pin the tag and the digest together. The
Digest:line ofdocker buildx imagetools inspect ghcr.io/oorabona/<container>:<tag>is the digest the tag names today. - Let a dependency update tool refresh the pins. Renovate, for example, updates the digest of a
tag@sha256reference when the tag moves. - Run it at least weekly. A weekly update leaves four update cycles before a replaced digest is deleted.
- Move pins off a version before it is dropped from the build matrix; its digest gets no grace.
A pin that is not refreshed within 30 days of a rebuild stops pulling, as before, only later.
The verification guide describes the same steps. The change is tracked in issue #2386.