pub fn push_module(
dir: &Path,
artifact_ref: &str,
platform: Option<&str>,
printer: Option<&Printer>,
) -> Result<String, OciError>Expand description
Push a module directory as an OCI artifact.
Reads module.yaml from dir, serializes it as the config blob, and
tars+gzips the directory contents as a single layer. Pushes to the
registry specified by artifact_ref.
Returns the pushed manifest digest.