diff --git a/k8s/cloud-build.sh b/k8s/cloud-build.sh index 91c6b3db5ab2..81d99d1e97ce 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 --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 --format='value(id)' ../) diff --git a/k8s/cloudbuild.yaml b/k8s/cloudbuild.yaml index 498c00e0872f..7222d653cf3a 100644 --- a/k8s/cloudbuild.yaml +++ b/k8s/cloudbuild.yaml @@ -10,8 +10,8 @@ steps: - gcr.io/$PROJECT_ID/${_IMAGE_NAME}-image:latest - --push - -f - - ./Dockerfile - - ../ + - ./front/Dockerfile + - . secretEnv: ["DEPOT_TOKEN"] timeout: 600s