Immutable image tags for Docker repositories. If you enable this setting,
an image tag always points to the same image digest, including the default
latest tag.
To learn more about image tags, image digests, and immutable image tags, see
Container image versions.
REPOSITORY is the name of the repository. If you configured a default repository, you can omit this flag to use the default.
PROJECT-ID is the Google Cloud project ID. If this flag is omitted, the current or default project is used.
LOCATION is the regional or multi-regional
location of the repository.
Use this flag to view repositories in a specific location. If you configured a default location, you can omit this flag to use the default.
DESCRIPTION is a description for the repository.
USERNAME is your upstream repository username.
SECRET_ID is the name of your secret.
SECRET_VERSION is the secret version you want to use.
The two tag setting flags, --no-immutable-tags or
--immutable-tags, indicate how tags are associated with versions of images.
--no-immutable-tags: the image version that tag points to can change. Deleting images, removing tags, and changing the version of an image that a tag points to are permitted.
--immutable-tags: in the repository, a tag always points to same version of an image. The following actions are not permitted:
Delete a tagged image.
Remove a tag from an image.
Push an image with a tag that is already used by another version of the image in the repository.
KEY=VALUE... is a list of comma-separated labels specified as key-value pairs. For example: team=team-1,product=example_product,stage=development. For more information about working with labels, see Label repositories.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-09 UTC."],[],[]]