hardgcloud

Add a tag to a specific version of a package in Artifact Registry

command

gcloud artifacts tags add TAG_NAME --package=PACKAGE_NAME --location=REGION --repository=REPO_NAME --version=VERSION

also accepted

gcloud artifacts tags addgcloud artifacts tags add TAG_NAME --package

Command breakdown

Part of the Google Cloud CLI (gcloud) — Alpha & Beta category.

gcloudartifactstagsaddTAG_NAME--package=PACKAGE_NAME--location=REGION--repository=REPO_NAME--version=VERSION
FlagPurpose
--packageSet to: PACKAGE_NAME
--locationSet to: REGION
--repositorySet to: REPO_NAME
--versionSet to: VERSION

Test your recall — not just your reading.

Practice with interactive quiz →