Skip to content

cub release get

cub release get

Get details about a release

Synopsis

Get detailed information about a specific release.

The release may be identified by its id argument, or (within a specific --space) by an OCI reference via one of the following flags:

--oci-reference An OCI image reference. A manifest digest (sha256:...) selects the release with that manifest digest. Otherwise is a tag; the only supported tag is "latest", which selects the newest release for the target given by --target. --bundle-digest The release's bundle content digest (sha256:...).

Examples:

  # Get details about a release by id
  cub release get --space my-space 61f26b06-3c34-4363-8b9d-7d0a7c2b5f1c

  # Get a release in JSON format
  cub release get --space my-space -o json 61f26b06-3c34-4363-8b9d-7d0a7c2b5f1c

  # Get the newest release for a target (tag reference)
  cub release get --space my-space --oci-reference latest --target my-target

  # Get a release by its OCI manifest digest
  cub release get --space my-space --oci-reference sha256:2222...

  # Get a release by its bundle content digest
  cub release get --space my-space --bundle-digest sha256:1111...
cub release get [release-id] [flags]

Options

      --bundle-digest string   Bundle content digest (sha256:...) of the release to get, instead of a release id
  -h, --help                   help for get
      --oci-reference string   OCI reference of the release to get: a tag (e.g. "latest", requires --target) or a manifest digest (sha256:...)
  -o, --output string          Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
      --quiet                  No default output.
      --select string          Comma-separated list of fields to retrieve and display. Entity IDs and Slug are always included. Example: "DisplayName,CreatedAt,Labels"
      --target string          Target whose latest release to get; required when --oci-reference is a tag
      --verbose                Detailed output, additive with default output

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output
      --space string     space ID to perform command on

SEE ALSO