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
Cannot read property 'packages' of null #28
Comments
Happens for me too when I use ghcr.io (https://docs.github.com/en/packages/getting-started-with-github-container-registry/migrating-to-github-container-registry-for-docker-images) With this change images are now stored at org level and not package level, maybe this is causing the error |
Looks like this is the problem as only repository packages are fetched using graqhQL
|
Have the same issue, @firefart do you know how to query the new ghcr stored versions ? |
Facing almost the same issue using ghcr.io: |
After searching some more I also found this Info: I also tried the docker catalog api directly, hoping we could implement it ourselves: So the only way currently is the GH Frontend which can list/delete the images. Also similiar request:
|
So there was an update on: https://github.community/t/are-there-plans-to-support-deletions-of-images-in-ghcr/153728 So I did a very rough integration to proof it is working: I used my fix version like this:
I could try to get a PR going for this repo, just not sure if GraphQL will implement containers in the future which would deprecate this kind of fix. Might also solve: #35 |
Hopefully this change can be reversed / changed once actions/delete-package-versions#28 is fixed.
Hi!
I'm using the following code to remove old versions from another repository wich is private:
I have created a personal access token with read and write packages permissions and stored as secret on the repository that is firing the action, but this error is thrown:
Any help on this?
Thank you!
The text was updated successfully, but these errors were encountered: