Clean registry buildcache when PR merged or closed
Nobody has claimed this yet.
Assessment
This issue has not been assessed yet.
Description
Is your feature request related to a problem? Please describe.
We write the buildcache for pull requests to the registry as tags for the buildcache image at https://eicweb.phy.anl.gov/containers/eic_container/container_registry/143. This accumulates without a clear way to clean up since the buildcache tags don't have a timestamp set that could be used for automatic eviction. This also affects ghcr.io.
Describe the solution you'd like
When a pull request is merged, we should explicitly remove the buildcache tags from the registries (both eicweb and ghcr.io).
Describe alternatives you've considered
An alternative approach is to have a periodic scheduled workflow that removes the buildcache entries that do not have a corresponding open pull request.
- Dominant language
- Shell
- Stars
- 2
- Forks
- 5
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eic/containers
-
eic/containers#369 · 3 comments · 2 assignees ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
eic/containers#347 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
eic/containers#225 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
eic/containers#29 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
eic/containers#26 ·
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·