-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mounting doesn't work when specifying a domain for dockerhub #689
Comments
So this fixes things:
but I'm not actually sure how we're getting to this state. Printing some nonsense out...
I see:
So for some reason, the layer registry is an empty string, but the target repo gets the default registry. Looks like this defaulting is deferred to an accessor, so comparing the struct values doesn't work: go-containerregistry/pkg/name/registry.go Lines 44 to 51 in fcc8ea8
I think we should clean that up but let's just do string comparisons first? |
I'm suspicious of these bits of code:
go-containerregistry/pkg/v1/remote/write.go
Lines 444 to 467 in fcc8ea8
go-containerregistry/pkg/v1/remote/transport/bearer.go
Lines 58 to 66 in fcc8ea8
Looking at the token I get back from dockerhub, it looks like we're missing pull scopes for the source repo:
The text was updated successfully, but these errors were encountered: