- 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] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)Create Package Rollouts Release. - EXAMPLES
-
To create Release
v1.0.0for Resource Bundlemy-bundle, run:gcloud alpha container hub packages resource-bundles releases create --version=v1.0.0 --resource-bundle=my-bundle --source=<SOURCE_PATH>SOURCE_PATH could be a one of the following:
-
A glob pattern for manifest files, e.g.
/manifests-dir/*.yaml. This will create a Variant for each matching file, inferring the Variant name from the file name, e.g.manifest-1.yamlwill be used to createmanifest-1Variant. -
A glob pattern for directories of manifest files, e.g.
/manifests-dirs/*. This will create a Variant for each matching directory, inferring the Variant name from the directory name, e.g./manifests-dirs/manifest-1will be used to createmanifest-1Variant. All YAML files under/manifests-dirs/manifest-1/folder and its subfolders will be used to create the Variant.
-
A glob pattern for manifest files, e.g.
- 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/--source=/manifests-dir/*.yaml --version=VERSION- Version of the Release to create.
- OPTIONAL FLAGS
-
--lifecycle=LIFECYCLE- Lifecycle of the Release.
--location=LOCATION- Google Cloud zone or region.
- 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 helpfor 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. These variants are also available:
gcloud container hub packages resource-bundles releases creategcloud beta container hub packages resource-bundles releases create
gcloud alpha container hub packages resource-bundles releases create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-03 UTC.