gcloud artifacts tags - manage Artifact Registry tags
gcloud 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 artifacts tags create my-tag --package=my-pkg \ --version=1.0.0
To list all tags under package my-pkg, run:
$ gcloud 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 artifacts tags update my-tag --version=1.0.0 \ --package=my-pkg
To delete tag my-tag of package my-pkg, run:
$ gcloud 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
Create an Artifact Registry tag.
- delete
Delete an Artifact Registry tag.
- list
List Artifact Registry tags.
- update
Update an Artifact Registry tag.
These variants are also available:
$ gcloud alpha artifacts tags
$ gcloud beta artifacts tags