-
Notifications
You must be signed in to change notification settings - Fork 51
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
copyToRegistry not documented? #128
Comments
No, it is not documented and tbh, i didn't expect to see these functions used as they are! A documentation PR would be welcomed! |
Maybe I misunderstood something then - I thought one of the strengths of this package (and that function) is to be able to build a container image bypassing the local podman store and send that to a remote registry. Did I miss a more proper way to do so? |
No, it is currently the proper way to do it. |
Thank you. I finally got to playing with this for a bit. I got it to work, but unfortunately it doesn't seem to be working as well as I thought it would. First of all, even for small changes that should change only the last layer, I'm seeing a lot of lines such as But more importantly, the I don't fully understand what is happening, but I found this: It looks like, in order for Skopeo to be able to reliably skip layers that are already present on the target registry, it has to maintain a persistent local cache of what layers it has already uploaded? This doesn't work for me, because I'm running builds in a distributed CI environment. I tried running with I am wildly guessing here, but could it be that in order to copy the image to a registry, layers must be compressed, and |
Hi! I see
copyToRegistry
mentioned in the benchmark section of the README, but this (seemingly very useful!) function doesn't seem to be documented.The text was updated successfully, but these errors were encountered: