-
Notifications
You must be signed in to change notification settings - Fork 9
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
Document uploading a package to ghcr.io
#170
Comments
My first attempt failed with a "Could not upload" message:
Fortunately turning on verbose logging gave the clue:
So, for some reason it's failing authentication. I have an admin GitHub PAT in my Grepping the source, I found out that
Having configured the
i.e. I was attempting to incorporate the org/user name in the package name. It wasn't too difficult to figure out that After setting
|
TL;DR
|
It seems a little strange to have the location the package is published to be controlled by hidden state (an env var). It might be more obvious to specify that as a CLI argument - e.g.
I guess that might not make sense for all OCI registries? |
Anyway, it works - I've uploaded a Figuring out how to install such a package will have to be a problem for another evening... 🤔 |
My first attempt at uploading a package failed:
...but I persevered (and grepped the source) and finally succeeded! 🎉
I'm just opening this issue to document the steps I had to take in case it is useful to others...
The text was updated successfully, but these errors were encountered: