Replies: 1 comment
-
|
Hi @iegorva,
To add this label when publishing your package you can add the appropriate classifiers to your package: https://github.com/AllexVeldman/pyoci?tab=readme-ov-file#add-labels-to-your-package
[project]
...
classifiers = [
"PyOCI :: Label :: org.opencontainers.image.source :: https://github.com/<org>/<repo>"
] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This might be more of a question, as I have no prior experience with uploading to GHCR even without PyOCI.
I have created an example repo https://github.com/iegorval/test_uv_publish and build a wheel for my package with
uv. I am trying to publish it with the following command (after runningdocker run -p 8080:8080 ghcr.io/allexveldman/pyoci:latest):uv publish --publish-url "http://localhost:8080/ghcr.io/iegorval" --username "__token__" --password "MY_TOKEN"This indeed uploads the package but to my profile, instead of uploading it to the repository's package. Is there any way to make the upload directly into the repository packages? Big thanks in advance for any advice.
Beta Was this translation helpful? Give feedback.
All reactions