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, andartifactregistryAPIs.
Configure
- Add an image repository → Google Artifact Registry. Enter the repository ID (e.g.
acme-images), not an image path. - Choose or create a
garpull identity. Apply detail-page setup, then verify. One assignment covers all images in that GAR repository.
--default-regionmust match the GAR location. Service account must be in the target project.- Setup grants exact-subject impersonation and
roles/artifactregistry.readeron registered repos only. - On Nuon signing-key rotation, refresh the provider JWKS from fresh setup material.
- Then set
gcp_garon the component — Container Image Components. - Another repo: Grant access to another repository.