Corteca only supports three values for build.options.outputType: rootfs, oci and docker:
options:
# rootfs, produces a compressed root filesystem as the build output;
# oci, the output is an OCI image;
# docker, for docker image output.
outputType: rootfs
Corteca does not autocomplete the supported values for corteca config set build.options.outputType, and accepts arbitrary values both from the command line and in corteca.yaml, causing corteca build to fail:
oci-poc (main %) $ corteca config get build.options.outputType
rootfs
oci-poc (main %) $ corteca config set build.options.outputType foobar
oci-poc (main *%) $ corteca config get build.options.outputType
foobar
oci-poc (main *%) $ corteca build armv7l
[...]
Fatal error: Unknown image type: foobar
Corteca only supports three values for build.options.outputType:
rootfs,ocianddocker:Corteca does not autocomplete the supported values for
corteca config set build.options.outputType, and accepts arbitrary values both from the command line and incorteca.yaml, causingcorteca buildto fail: