NAME

gcloud beta artifacts docker tags - manage Artifact Registry container image tags

SYNOPSIS

gcloud beta artifacts docker tags COMMAND [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(BETA) To add tag my-tag to image busy-box referenced by digest abcxyz in us-west1:

$ gcloud beta artifacts docker tags us-west1-docker.pkg.dev/my-project/my-repository/busy-box@sha256:abcxyz us-west1-docker.pkg.dev/my-project/my-repository/busy-box:my-tag

To add tag my-tag to image busy-box referenced by tag latest in us-west1:

$ gcloud beta artifacts docker tags \ us-west1-docker.pkg.dev/my-project/my-repository/busy-box:latest us-west1-docker.pkg.dev/my-project/my-repository/busy-box:my-tag

To delete tag my-tag from image busy-box in us-west1:

$ gcloud beta artifacts docker tags \ us-west1-docker.pkg.dev/my-project/my-repository/busy-box:my-tag

To list all tags in repository my-repository in us-west1:

$ gcloud beta artifacts docker tags \ us-west1-docker.pkg.dev/my-project/my-repository

To list tags for image busy-box in us-west1:

$ gcloud beta artifacts docker tags \ us-west1-docker.pkg.dev/my-project/my-repository/busy-box

GCLOUD WIDE FLAGS

These flags are available to all commands: --help.

Run $ gcloud help for details.

COMMANDS

COMMAND is one of the following:

add

(BETA) Add a tag to a container image in Artifact Registry.

delete

(BETA) Delete a tag from a container image in Artifact Registry.

list

(BETA) List all tags associated with a container image in Artifact Registry.

NOTES

This command is currently in beta and might change without notice. These variants are also available:

$ gcloud artifacts docker tags

$ gcloud alpha artifacts docker tags