-
-
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
Unable to push helm charts to internal gitea repo #29118
Comments
Did you do a |
I did, here is the full failing CI run: https://drone.kolaente.de/vikunja/helm-chart/80/1/2 |
Tested it with your repo:
Are you using a token? Has the token the correct permissions? |
Using a token with the packages permissions (read and write). Is that enough? |
Just checked with a token from a different account and that worked. Looks like it's only the bot account which does not work. |
Yes, package write should be enough. |
Is there any way to debug this further? |
Tested it again and package read/write is enough to push the user or an org where the user is in a team with package write access. |
Same issue here, only with docker instead of helm. I consistently got an error using my ci-docker account, the repository owner account worked immediately. Version 1.21.11 |
Could you provide some details about how to reproduce? eg: prepare a fresh instance, instance setup (docker compose?), create user / org / team, etc, then the command lines used. |
The instance is set up using portage, hosted on https://git.denkena-consulting.com. Command line was simply: |
Sorry but I have never heard of "portage" ..... 😭 I have my knowledge limitation, and the configuration & user & permission really matter. KN4CK3R has tested and replied above, it seems to work well (unable to reproduce without more details) A reproducible setup with detailed steps is really helpful (and important) to figure out the real problem. There is an issue report sample: #30680 (comment) , with the reproducible setup, the problem could be clarified quickly. |
Description
Pushing a helm repo with
helm push <file>.tgz oci://gitea-instance.tld/org
fails with the following error:(using an api token with the packages scope)
Gitea's logs show the following, which might be related:
The token and helm cli version did not change since the last time this worked (all runs in CI).
Maybe related to #27640
Gitea Version
1.21.5
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?
Official docker image
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: