From d97d3164b895bc6b9f2af47834a5fed79d2fb2d8 Mon Sep 17 00:00:00 2001 From: ARIC LASRY Date: Thu, 23 Nov 2023 15:34:52 +0100 Subject: [PATCH] Fix _DOCKERFILE_PATH --- k8s/cloud-build.sh | 2 +- k8s/cloudbuild.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/cloud-build.sh b/k8s/cloud-build.sh index 4bd00b7fac1e..0ebaff49737f 100755 --- a/k8s/cloud-build.sh +++ b/k8s/cloud-build.sh @@ -15,4 +15,4 @@ echo "Current working directory is $(pwd)" # Start the build and get its ID echo "Starting build..." -BUILD_ID=$(gcloud builds submit --quiet --config "${SCRIPT_DIR}/cloudbuild.yaml" --substitutions=SHORT_SHA=$(git rev-parse --short HEAD),_IMAGE_NAME=$1,DOCKERFILE_PATH=$2 --format='value(id)' .) +BUILD_ID=$(gcloud builds submit --quiet --config "${SCRIPT_DIR}/cloudbuild.yaml" --substitutions=SHORT_SHA=$(git rev-parse --short HEAD),_IMAGE_NAME=$1,_DOCKERFILE_PATH=$2 --format='value(id)' .) diff --git a/k8s/cloudbuild.yaml b/k8s/cloudbuild.yaml index ff9a261bbb8f..e6fffb698188 100644 --- a/k8s/cloudbuild.yaml +++ b/k8s/cloudbuild.yaml @@ -10,7 +10,7 @@ steps: - gcr.io/$PROJECT_ID/${_IMAGE_NAME}-image:latest - --push - -f - - ${DOCKERFILE_PATH} + - ${_DOCKERFILE_PATH} - . secretEnv: ["DEPOT_TOKEN"]