mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
44 lines
1.2 KiB
Text
44 lines
1.2 KiB
Text
NAME
|
|
gcloud beta artifacts versions - manage Artifact Registry package versions
|
|
|
|
SYNOPSIS
|
|
gcloud beta artifacts versions COMMAND [GCLOUD_WIDE_FLAG ...]
|
|
|
|
EXAMPLES
|
|
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
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --help.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
COMMANDS
|
|
COMMAND is one of the following:
|
|
|
|
delete
|
|
(BETA) Delete an Artifact Registry package version.
|
|
|
|
list
|
|
(BETA) List Artifact Registry package versions.
|
|
|
|
NOTES
|
|
This command is currently in beta and might change without notice. These
|
|
variants are also available:
|
|
|
|
$ gcloud artifacts versions
|
|
|
|
$ gcloud alpha artifacts versions
|
|
|