You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would be better, if possible, is to use instead to the GITHUB_TOKEN secret (link), as the recommended way since it's already created for you and scoped.
In fact:
If your workflow is using a personal access token (PAT) to authenticate to ghcr.io, then we highly recommend you update your workflow to use the GITHUB_TOKEN.
So I have been spending the whole morning looking for the problem.
It seems the issue is with the GITHUB_TOKEN permissions which don't reach DELETION on packages at Organization level like containers are in Github, e.g. see this thread.
Hello there, thanks for this!
Currently this action requires the
Personal Access Token
, as stated in the README:https://github.com/bots-house/ghcr-delete-image-action/blame/main/README.md#L33
What would be better, if possible, is to use instead to the
GITHUB_TOKEN
secret (link), as the recommended way since it's already created for you and scoped.In fact:
found in https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry
I already use this action for login to the registry which may give you inspiration since it's using the
GITHUB_TOKEN
.Let me know if I can help!
The text was updated successfully, but these errors were encountered: