-
Notifications
You must be signed in to change notification settings - Fork 9
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: