bug: gen.OCIRepository().LookupArtifact(ocirepo, META)
is not working without authentication
#872
Labels
kind/bug
Bug
What happened:
Fetched a component descriptor in a public repository here: https://github.com/users/Skarlso/packages/container/package/component-descriptors%2Fgithub.com%2Facme%2Fpodinfo
Everything went fine, we were able to fetch the right resource data and everything.
However, during
defer cv.Close()
we noticed this error in the log:Because the component is in a public repository, we didn't provide any access credentials and didn't expect to need any either.
This endpoint, however, is not accessible without authentication evidently.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
Environment:
The text was updated successfully, but these errors were encountered: