Skip to main content

GCP Artifact Registry Docker Image

Google Cloud Platform’s Artifact Registry is a fully-managed service for storing, managing and securing container images and other build artefacts. The Docker Image resource represents the metadata for a single container image stored in an Artifact Registry repository, including its digest, tags, size and creation timestamps. It allows you to query, inspect and manage specific images programmatically before they are pulled into a deployment pipeline, helping you verify provenance, vulnerabilities and policy compliance.
Official documentation: https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages

Terrafrom Mappings:

  • google_artifact_registry_docker_image.name

Supported Methods

  • GET: Get a gcp-artifact-registry-docker-image by its "locations|repositories|dockerImages"
  • LIST
  • SEARCH: Search for Docker images in Artifact Registry. Use the format "location|repository_id" or "projects/project/locations/location/repository/repository_id/dockerImages/docker_image" which is supported for terraform mappings.