Typically the local manifest and image file are created with
"imgadm create ...". Note that "imgadm create" supports a
"-p/--publish" option to publish directly in one step.
Limitation: This does not yet support *authentication* that some
IMGAPI image repositories require.