-
Notifications
You must be signed in to change notification settings - Fork 508
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
push just a manifest to a remote #862
Comments
I believe |
Hmm. Is there a practical example? |
We use this to implement If you're interested in something like this that just pushes by digest, it doesn't exist, but it seems like you are okay with just tag? |
Arguably, this should have been named |
Oh excellent. Thank you. Closing this out. |
I was sure there was a bug, because it kept erroring, but I realized that it was defaulting to anonymous auth. Is there some painfully obvious way from here that I am just missing for authenticating using your default docker credentials, whatever they are? |
The magic incantation you want is The name is too long, and I'd like to add |
Magic indeed. |
This is documented here but let me know what we can improve to make this more discoverable. My thinking was that by default, we don't want to read and transmit credentials over the internet, even if that's what you usually want to do. Making this explicit requires you to wire this up yourself and shifts some of that custody responsibility onto the library consumer. I think it would be even more magic if it just worked by default :P |
Is there a way to push just a manifest to a remote? I can write a layer. I also can write a whole image or index, which (by looking at the code, appear to) actually write the individual layers.
The simplest use case is if I have a manifest that points to blobs that already are in the remote registry. I don't want to pull and push the whole image, just to create either a new (slightly different) manifest (image/index) for the root with a different tag, or even the identical manifest (image/index) with a different tag.
The text was updated successfully, but these errors were encountered: