apko icon indicating copy to clipboard operation
apko copied to clipboard

create --load flag for build cmd

Open developer-guy opened this issue 3 years ago • 3 comments

In the meantime, people need to run additional docker command (load) in order to load image to docker after building it with apko, so, it would be better to add another flag like --load for build command to provide the same experience in a single command like the following:

$ apko build --load ..

WDYT @kaniini?

developer-guy avatar May 04 '22 17:05 developer-guy

I'm willing to do this, so, feel free to assign it to me 🙋🏻‍♂️

developer-guy avatar May 04 '22 17:05 developer-guy

I think doing it the way ko does it where there's a virtual target you can publish to which represents the local docker daemon would be better. cc @imjasonh

kaniini avatar May 04 '22 18:05 kaniini

This came up in https://github.com/distroless/static/pull/9

Do we want apko publish apko.local to signal a local image? This should be pretty easy after we decide that.

imjasonh avatar Jun 30 '22 17:06 imjasonh

Solved by apko publish --local!

kaniini avatar Nov 30 '22 15:11 kaniini