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
I'm trying to fetch image data about a public image on ghcr.io, using RegistryAuth::Anonymous, and it's not working. The same code can successfully fetch from gcr.io and Docker Hub.
This has been fixed by #6 - unfortunately this isn't part of a tagged release yet.
I tried your reproduced and it works fine when using the crate from the main branch.
@thomastaylor312, @bacongobbler : I think we should tag a new release of oci-distribution. He have a bunch of improvements merged into the main branch that haven't been pushed out via official release yet.
I'm trying to fetch image data about a public image on ghcr.io, using
RegistryAuth::Anonymous
, and it's not working. The same code can successfully fetch from gcr.io and Docker Hub.I've got a Gist with a minimal repro case: https://gist.github.com/imjasonh/30c95b534487e72afd8f1530072878ed#file-main-rs
tl;dr:
GCR works (so does Docker Hub):
GHCR doesn't work:
Both of these images are publicly available and can be fetched with
crane
usinggo-containerregistry
.The text was updated successfully, but these errors were encountered: