-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
unauthorized: reqPackageAccess when pushing to container registry #31531
Comments
Thanks for the bug report! Are there any logs that you would be able to provide from your Gitea instance associated with you pushing to your registry? |
I think those are the relevant ones. |
You need to supply a PAT to authenticate yourself to Gitea (this has nothing to do with Docker). Your token needs either |
How do I do that if it's not related to Docker? |
Thank you. A bit off-topic but is there a way to push an image to a repository instead of a user? |
No, but you can link a package to a repo once it has been pushed. |
Description
I successfully logged in to my user with
docker login
. I logged in with my usual username/password. When I push the image, I get the errorunauthorized: reqPackageAccess
.What's the issue?
Gitea Version
1.22.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker Swarm
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: