gcloud alpha container hub packages resource-bundles releases create

NAME
gcloud alpha container hub packages resource-bundles releases create - create Package Rollouts Release
SYNOPSIS
gcloud alpha container hub packages resource-bundles releases create --resource-bundle=RESOURCE_BUNDLE --source=SOURCE --version=VERSION [--lifecycle=LIFECYCLE] [--location=LOCATION] [--use-nested-variants] [--variants-pattern=VARIANTS_PATTERN] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Create Package Rollouts Release.
EXAMPLES
To create Release v1.0.0 for Resource Bundle my-bundle in us-central1, run:
gcloud alpha container hub packages resource-bundles releases create --version=v1.0.0 --resource-bundle=my-bundle --source=manifest.yaml

To create a Release with multiple variants in one directory, run:

gcloud alpha container hub packages resource-bundles releases create --version=v1.0.0 --resource-bundle=my-bundle --source=/manifests/ --variants-pattern=manifest-*.yaml

To create a Release with multiple variants across multiple directories, ex:

gcloud alpha container hub packages resource-bundles releases create --version=v1.0.0 --resource-bundle=my-bundle --source=/manifests/ --variants-pattern=dir-*/
REQUIRED FLAGS
--resource-bundle=RESOURCE_BUNDLE
Resource Bundle name.
--source=SOURCE
Source file or directory to create the Release from. e.g. --source=manifest.yaml, --source=/manifests-dir/ Can optionally be paired with the --variants-pattern arg to create multiple variants of a Release.
--version=VERSION
Version of the Release to create.
OPTIONAL FLAGS
--lifecycle=LIFECYCLE
Lifecycle of the Release.
--location=LOCATION
Google Cloud zone or region.
--use-nested-variants
Whether to use nested variants. If true, the Release will create variants as nested resources.
--variants-pattern=VARIANTS_PATTERN
Glob pattern to Variants of the Release, to be paired with the --source arg. ex: --source=/manifests-dir/ --variants-pattern=**, --source=/manifests-dir/ --variants-pattern=us-*.yaml, --source=/manifests/dir/ --variants-pattern=*/*.yaml
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

NOTES
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.