Skip to main content
Shared flow: Private Image Registries.

Prerequisites

  • Docker-format GAR repos in the target project and location. Record project ID and numeric project number.
  • Admin rights to enable APIs and manage workload identity + service accounts + repo IAM.
  • Enable iam, iamcredentials, sts, and artifactregistry APIs.

Configure

  1. Add an image repository → Google Artifact Registry. Enter the repository ID (e.g. acme-images), not an image path.
  2. Choose or create a gar pull identity. Apply detail-page setup, then verify. One assignment covers all images in that GAR repository.
  • --default-region must match the GAR location. Service account must be in the target project.
  • Setup grants exact-subject impersonation and roles/artifactregistry.reader on registered repos only.
  • On Nuon signing-key rotation, refresh the provider JWKS from fresh setup material.
  • Then set gcp_gar on the component — Container Image Components.
  • Another repo: Grant access to another repository.