gcloud beta artifacts versions - manage Artifact Registry package versions
gcloud beta 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 beta artifacts versions list --package=my-pkg
To delete version 1.0.0 under package my-pkg, run:
$ gcloud beta artifacts versions delete 1.0.0 --package=my-pkg
To delete version 1.0.0 under package my-pkg with its tags, run:
$ gcloud beta 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
(BETA) Delete an Artifact Registry package version.
- list
(BETA) List Artifact Registry package versions.
This command is currently in beta and might change without notice. These variants are also available:
$ gcloud artifacts versions
$ gcloud alpha artifacts versions