Comments (8)
https://github.com/snok/container-retention-policy lets you delete GHCR packages 🙂
from delete-package-versions.
If just need to delete packages by tag, you can checkout our action https://github.com/marketplace/actions/ghcr-delete-image
from delete-package-versions.
@sondrelg that action serves my purposes! I am going to close this issue, I consider that action to have solved it.
from delete-package-versions.
And if this action will support container registry in the future, will containers show up under repository.packages in Github's GraphQL API in the future?
This graphql returns NuGet packages, but not Docker images:
query getVersions($owner: String!, $repo: String!, $last: Int!) {
repository(owner: $owner, name: $repo) {
name
packages(first: 10) {
totalCount
edges {
node {
name
versions(last: $last) {
edges {
node {
id
version
}
}
}
}
}
}
}
}
from delete-package-versions.
@amiantos @thomastvedt
FYI: I created a fix over here:
#28 (comment)
I will see to open a PR into this repo, however for me it depends how the roadmap looks and if the GraphQL API will also deliver this functionality in the future.
from delete-package-versions.
@amiantos @thomastvedt
FYI: I created a fix over here:
#28 (comment)I will see to open a PR into this repo, however for me it depends how the roadmap looks and if the GraphQL API will also deliver this functionality in the future.
Nice!, if I understand correctly it is now possible to delete container packages from ghcr.io with REST? But still not via graphql yet?
Also, this repository (delete-package-versions) is marked as unmaintained, did you find a good alternative?
from delete-package-versions.
Any updates on this?
from delete-package-versions.
I'd be interested in this too.
from delete-package-versions.
Related Issues (20)
- Feature request - delete latest pre-release
- version_id parameter must be an integer HOT 8
- Udostępniam Ci plik „7792e020-9542-45ef-bba3-6248e29c8b2b” HOT 1
- Error: get versions API failed. Package not found. HOT 2
- How to delete the releases package built by github action HOT 1
- Error when using delete-package-versions from a different repo HOT 1
- Action is very complex because of handling both packages and containers.
- No way to only keep tagged versions with `min-versions-to-keep`
- Action failing on MacOS Ventura Self-Hosted Runner HOT 1
- Error: get versions API failed. Package not found. HOT 1
- `min-versions-to-keep` behaviour inconsistent with documentation HOT 2
- Add dry run parameter HOT 1
- ignore-versions doesn't work HOT 3
- delete-only-pre-release-versions: true tag as well as ignore-versions params is not working HOT 1
- Delete packages by download count HOT 2
- Flag to delete only untagged container images HOT 3
- ignore-versions doesn't seem to work with container packages (ghcr) HOT 8
- Ignore-Versions parameter is not support for random version numbers. HOT 1
- Multi-arch containers HOT 4
- Feature request - with include-versions regexp HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from delete-package-versions.