From f6391620c19258beabbb6d0e49517d085692b88f Mon Sep 17 00:00:00 2001 From: Barney Boisvert Date: Sat, 13 Apr 2024 13:55:57 -0700 Subject: [PATCH] include service name as docker build arg --- cloudbuild.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index b138db25..cc9baf58 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -6,6 +6,9 @@ steps: - '-t' - >- $_AR_HOSTNAME/$PROJECT_ID/cloud-run-source-deploy/$REPO_NAME/$_SERVICE_NAME:$COMMIT_SHA + - '--build-arg' + - >- + SERVICE_NAME=$_SERVICE_NAME - . - '-f' - Dockerfile