Skip to content

Commit cb2042d

Browse files
committed
Fix api directory
1 parent cf6e83e commit cb2042d

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

api/cloudbuild.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
steps:
2-
- name: 'gcr.io/kaniko-project/executor:latest'
3-
id: 'build-and-push'
4-
dir: 'backend'
2+
- name: "gcr.io/kaniko-project/executor:latest"
3+
id: "build-and-push"
4+
dir: "api"
55
args:
6-
- '--destination=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:$SHORT_SHA'
7-
- '--destination=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:latest'
8-
- '--dockerfile=Dockerfile'
9-
- '--context=.'
10-
- '--build-arg=GIT_COMMIT=$COMMIT_SHA'
11-
- '--snapshotMode=time'
6+
- "--destination=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:$SHORT_SHA"
7+
- "--destination=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:latest"
8+
- "--dockerfile=Dockerfile"
9+
- "--context=."
10+
- "--build-arg=GIT_COMMIT=$COMMIT_SHA"
11+
- "--snapshotMode=time"
1212

13-
- id: 'Deploy to Cloud Run'
14-
name: 'gcr.io/cloud-builders/gcloud'
15-
entrypoint: 'bash'
13+
- id: "Deploy to Cloud Run"
14+
name: "gcr.io/cloud-builders/gcloud"
15+
entrypoint: "bash"
1616
args:
17-
- '-c'
17+
- "-c"
1818
- |
1919
gcloud run deploy $_SERVICE_NAME \
2020
--image=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:$SHORT_SHA \
@@ -25,4 +25,4 @@ options:
2525

2626
substitutions:
2727
_SERVICE_NAME: http-sms-api
28-
_REGION: us-east1
28+
_REGION: us-east1

0 commit comments

Comments
 (0)