Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ghcr.io expiration for images and cache layers #568

Closed
jiridanek opened this issue Jun 16, 2024 · 3 comments · Fixed by #601
Closed

Implement ghcr.io expiration for images and cache layers #568

jiridanek opened this issue Jun 16, 2024 · 3 comments · Fixed by #601
Assignees

Comments

@jiridanek
Copy link
Member

It appears that ghcr.io does not support setting expiration. The only way is to periodically delete old images. This is probably a good thing to do, just to avoid excessive storage usage.

Although there does not seem to be any limit for us, it seems to be a good practice to clean up after ourselves.

@jiridanek jiridanek self-assigned this Jun 16, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in ODH IDE Planning Jun 16, 2024
@jiridanek jiridanek changed the title Investigate ghcr.io expiration for images and cache layers Implement ghcr.io expiration for images and cache layers Jun 16, 2024
@caponetto
Copy link
Contributor

@jiridanek
Copy link
Member Author

@caponetto do you have a favorite? I'm unfamiliar with the options, so I'm inclined to pick yours

@caponetto
Copy link
Contributor

Hey @jiridanek,
I was looking at the options and the container-retention-policy that you found looks better in terms of activity and popularity in the community. Also, I saw that there will be a new major release (v3) coming out soon, which is being developed on this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants