All GCP services

GCP · Developer Tools

Artifact Registry

Repos for containers, npm, Maven, Python, apt/yum.

Official docs

Overview

Artifact Registry stores and secures build artifacts with vulnerability scanning and IAM-scoped repos.

When to use it

  • Single registry for container + language packages
  • CI artifact promotion across envs

Setup

  1. Enable Artifact Registry API.
  2. Create repo: `gcloud artifacts repositories create images --repository-format=docker --location=us`.
  3. Configure Docker auth: `gcloud auth configure-docker us-docker.pkg.dev`.

How to use

Push image
docker push us-docker.pkg.dev/PROJECT/images/api:1.2.3
Scan results
gcloud artifacts docker images list-vulnerabilities us-docker.pkg.dev/PROJECT/images/api@sha256:...

QA use cases

  • Block pipeline promotion when CVEs exceed severity threshold.