From 18ba6a052ae906a49af3e20e88afcf43c3323cf8 Mon Sep 17 00:00:00 2001 From: Roberto D'Auria Date: Wed, 28 Jan 2026 15:42:19 +0100 Subject: [PATCH] fix(cloudbuild): use PROJECT_ID instead of custom substitution --- cloudbuild.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 8cfb0cc..62e7d5b 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -1,7 +1,6 @@ substitutions: _REGION: us-east1 _SERVICE_NAME: speed-proxy - _MLAB_PROJECT: mlab-sandbox _ALLOWED_ORIGIN: https://speed.measurementlab.net steps: @@ -38,7 +37,7 @@ steps: - | sed -e "s|OTEL_IMAGE_PLACEHOLDER|${_REGION}-docker.pkg.dev/${PROJECT_ID}/m-lab/otel-collector:${BUILD_ID}|g" \ -e "s|IMAGE_PLACEHOLDER|${_REGION}-docker.pkg.dev/${PROJECT_ID}/m-lab/${_SERVICE_NAME}:${BUILD_ID}|g" \ - -e "s|MLAB_PROJECT_PLACEHOLDER|${_MLAB_PROJECT}|g" \ + -e "s|MLAB_PROJECT_PLACEHOLDER|${PROJECT_ID}|g" \ -e "s|ALLOWED_ORIGIN_PLACEHOLDER|${_ALLOWED_ORIGIN}|g" \ service.yaml > service-deploy.yaml gcloud run services replace service-deploy.yaml \