You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
awesome! So the GitHub packages interface is incorrect for different artifact types - whatever you put up on there it's going to show that Docker command (so safe to ignore it). What you want to do instead is:
And unfortunately I don't know any way to change that page - perhaps we should ping GitHub to request better support for that?
If your project is private (but you have permission) you'll need to use oras login first with a GitHub personal access token.
Indeed, that would be great to tell docker image from singularity in the packages.
As for the pull operation, actually, I've already tried something like that:
generate a PAT,
and run: echo token | singularity remote login -u Trophime --password-stdin oras://ghcr.io
But it keeps saying: FATAL: while login to oras://ghcr.io: Get "https://ghcr.io/v2/": denied: denied
Maybe I've not selected the right items for the PAT. Any idea which items I should check in the list?
your PAT has packages permission enabled (it's an extra permission)
you are added to the container with permission to pull
I typically just use public repos / packages but I remember running into this and it seemed to me the message was correct - the PAT I provided didn't have permission to do the pull.
Another way to debug is outside of singularity - install the oras client (https://oras.land) and then do just
oras login (same as docker login)
oras pull -a <artifact>
Once you get that working, then go back to Singularity (and check the permissions first anyway!)
Hi,
following your GREAT workflow I've managed to create a singularity image for my project and upload it to ghcr.io.
I still have some issues:
Install from the command line:
Learn more
$ docker pull ghcr.io/feelpp/salome.docker:latest
How can I tell github to display a more appropriate message like: singularity pull oras://....
Thanks for your help
The text was updated successfully, but these errors were encountered: