gcloud artifacts versions - manage Artifact Registry package versions
gcloud artifacts versions COMMAND [GCLOUD_WIDE_FLAG ...]
To list all versions for a package when the artifacts/repository and artifacts/location properties are set to a repository in the current project, run:
$ gcloud artifacts versions list --package=my-pkg
To delete version 1.0.0 under package my-pkg, run:
$ gcloud artifacts versions delete 1.0.0 --package=my-pkg
To delete version 1.0.0 under package my-pkg with its tags, run:
$ gcloud artifacts versions delete 1.0.0 --package=my-pkg \ --delete-tags
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- delete
Delete an Artifact Registry package version.
- describe
Describe an Artifact Registry package version.
- list
List Artifact Registry package versions.
These variants are also available:
$ gcloud alpha artifacts versions
$ gcloud beta artifacts versions