gcloud alpha artifacts packages - manage Artifact Registry packages
gcloud alpha artifacts packages COMMAND [GCLOUD_WIDE_FLAG ...]
To list all packages in the current project and artifacts/repository and artifacts/location properties are set, run:
$ gcloud alpha artifacts packages list
To list packages under repository my-repo in the current project and location, run:
$ gcloud alpha artifacts packages list --repository=my-repo
To delete package my-pkg under repository my-repo in the current project and location, run:
$ gcloud alpha artifacts packages delete my-pkg --repository=my-repo
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- delete
(ALPHA) Delete an Artifact Registry package.
- list
(ALPHA) List Artifact Registry packages.
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 packages
$ gcloud beta artifacts packages