bollard
bollard copied to clipboard
Question: How can I build an image using BuildKit and push it to the registry while maintaining the output stream?
I would like to build an image using BuildKit and push it to a registry afterwards while being able to report the progress. What's the best way to achieve this?
The example at https://github.com/fussybeaver/bollard/blob/master/examples/build_buildkit.rs does not push the image to a registry.
The example at https://github.com/fussybeaver/bollard/blob/master/examples/build_buildkit_with_cache.rs does push to a registry, but I'm unsure how to get BuildInfo
and such from it.
Help would be appreciated.