cue mod publish

CUE v0.18.0

publish the current module to a registry

Usage

cue mod publish <version> [flags]

Publish the current module to an OCI registry. It consults $CUE_REGISTRY to determine where the module should be published (see "cue help environment" for details). Also note that this command does no dependency or other checks at the moment.

When the --dry-run flag is specified, nothing will actually be written to a registry, but all other checks will take place.

The --json flag can be used to find out more information about the upload.

The --out flag can be used to write the module's contents to a directory in OCI Image Layout format. See this link for more details on the format: https://github.com/opencontainers/image-spec/blob/8f3820ccf8f65db8744e626df17fe8a64462aece/image-layout.md

Flags

-n, --dry-run                      only run simulation
--json                             print verbose information in JSON format (implies --dry-run)
--out string                       write module contents to specified directory in OCI Image Layout format (implies --dry-run)

Global flags

-E, --all-errors                   print all available errors
-C, --chdir string                 change working directory before running command (must be the first flag)
-i, --ignore                       proceed in the presence of errors
-s, --simplify                     simplify output
Install CUE