Skip to content

Commit

Permalink
Fix _DOCKERFILE_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
ARIC LASRY authored and ARIC LASRY committed Nov 23, 2023
1 parent 49135ae commit d97d316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/cloud-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)' .)
2 changes: 1 addition & 1 deletion k8s/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ steps:
- gcr.io/$PROJECT_ID/${_IMAGE_NAME}-image:latest
- --push
- -f
- ${DOCKERFILE_PATH}
- ${_DOCKERFILE_PATH}
- .
secretEnv: ["DEPOT_TOKEN"]

Expand Down

0 comments on commit d97d316

Please sign in to comment.