bollard icon indicating copy to clipboard operation
bollard copied to clipboard

Question: How can I build an image using BuildKit and push it to the registry while maintaining the output stream?

Open 0xLE opened this issue 6 months ago • 1 comments

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.

0xLE avatar Aug 19 '24 11:08 0xLE