Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/registry-proxy-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
# push authenticates with the SA token (artifactregistry.writer) and has no
# staging bucket in the path. --provenance=false → a plain single-arch image
# Cloud Run accepts (no attestation manifest list).
gcloud auth configure-docker "${REGION}-docker.pkg.dev" --quiet
gcloud auth configure-docker "${AR_LOCATION}-docker.pkg.dev" --quiet
echo "build → ${IMAGE}"
docker build --platform linux/amd64 --provenance=false -t "${IMAGE}" registry-api
echo "push → ${IMAGE}"
Expand Down
2 changes: 1 addition & 1 deletion registryV2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ The canonical deployment, verified against the live project:
| Bucket | `gs://dambi-registry-v3-unseo` — `STANDARD`, **UBLA**, **Public Access Prevention enforced**, **versioning on**, soft-delete 7 days, lifecycle: keep the 3 newest noncurrent versions, delete others ≥ 30 days noncurrent |
| KMS | keyring `registry-signing` / key `bundle-sign-p256` / `ASYMMETRIC_SIGN` `EC_SIGN_P256_SHA256` / **HSM** protection (FIPS 140-2 L3, non-extractable) / version `1` enabled |
| Proxy service | Cloud Run `registry-api-v3` (see [`../registry-api`](../registry-api)) |
| Artifact Registry | `asia-northeast1-docker.pkg.dev/project-c2aefc18-2bfc-495a-a3d/dambi` (Docker) |
| Artifact Registry | `asia-northeast3-docker.pkg.dev/project-c2aefc18-2bfc-495a-a3d/dambi` (Docker, Seoul — a different region from the Cloud Run service) |

**Two service accounts, split by least privilege:**

Expand Down
6 changes: 5 additions & 1 deletion registryV2/scripts/deploy/_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ BUCKET="${BUCKET:-dambi-registry-v3-unseo}"
SA_NAME="${SA_NAME:-registry-api-v3-sa}"
SA_EMAIL="${SA_EMAIL:-${SA_NAME}@${PROJECT_ID}.iam.gserviceaccount.com}"
SERVICE_NAME="${SERVICE_NAME:-registry-api-v3}"
AR_REPO="${AR_REPO:-${REGION}-docker.pkg.dev/${PROJECT_ID}/dambi/registry-api}"
# Artifact Registry lives in a DIFFERENT region from the Cloud Run service:
# the `dambi` Docker repo was created in Seoul (asia-northeast3) while the
# service runs in Tokyo (asia-northeast1). Verified 2026-09-14.
AR_LOCATION="${AR_LOCATION:-asia-northeast3}"
AR_REPO="${AR_REPO:-${AR_LOCATION}-docker.pkg.dev/${PROJECT_ID}/dambi/registry-api}"

# --- Bundle signing (Cloud KMS, asymmetric EC_SIGN_P256_SHA256) ---------------
# The detached signatures/<sha>.sig published with the index are produced by
Expand Down
Loading