Closed pl4nty closed 4 months ago
Pardon my ignorance here but I don't see what the point is of the --load
switch? Do you want to have the image output as a tar file?
Additional arguments could be good but I think it would need to be generic. Perhaps something like --extra-args="--switch1=123"
--load
loads the image into local storage. same as current behaviour, because the docker
driver implicitly uses --load
if no output is specified (for backwards compat). but other drivers require an explicit output argument, and will fail at the moment.
generic arguments sound great, I'm happy to send another PR if you'd like.
I think something could be done with extra build arguments I am just not sure about the interface to support (whether it's purely cli or if it should also be in the config file)
Add --load to explicitly output Docker builds to local images, allowing drivers that don't have a default output type (ie everything except
docker
). Fixes #147Is it worth adding some way to pass custom arguments too? --cache-from and --cache-to can significantly improve performance in CI scenarios.