gcloud alpha artifacts tags - manage Artifact Registry tags
gcloud alpha artifacts tags COMMAND [GCLOUD_WIDE_FLAG ...]
To create tag with the name my-tag for version 1.0.0 of package my-pkg in the current project with artifacts/repository and artifacts/location properties are set, run:
$ gcloud alpha artifacts tags create my-tag --package=my-pkg \ --version=1.0.0
To list all tags under package my-pkg, run:
$ gcloud alpha artifacts tags list --package=my-pkg
To update tag my-tag from a different version to version 1.0.0 of package my-pkg, run:
$ gcloud alpha artifacts tags update my-tag --version=1.0.0 \ --package=my-pkg
To delete tag my-tag of package my-pkg, run:
$ gcloud alpha artifacts tags delete my-tag --package=my-pkg
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- create
(ALPHA) Create an Artifact Registry tag.
- delete
(ALPHA) Delete an Artifact Registry tag.
- list
(ALPHA) List Artifact Registry tags.
- update
(ALPHA) Update an Artifact Registry tag.
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 artifacts tags
$ gcloud beta artifacts tags