https://github.com/moby/buildkit/pull/615#discussion_r244930629 ## Frontend * Old style: `--frontend dockerfile.v0 --frontend-opt target=foo --frontend-opt build-arg:foo=bar` * New style: `--frontend type=dockerfile.v0,target=foo,build-arg:foo=bar` ## Export * Old style: `--exporter image --exporter-opt name=docker.io/username/image --exporter-opt push=true` * New style: `--export type=image,name=docker.io/username/image,push=true` * `s/exporter/export/` for consistency with `--cache-export`, probably * Multiple `--export` should be supported
#615 (comment)
Frontend
--frontend dockerfile.v0 --frontend-opt target=foo --frontend-opt build-arg:foo=bar--frontend type=dockerfile.v0,target=foo,build-arg:foo=barExport
--exporter image --exporter-opt name=docker.io/username/image --exporter-opt push=true--export type=image,name=docker.io/username/image,push=trues/exporter/export/for consistency with--cache-export, probably--exportshould be supported