File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11steps :
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
2626substitutions :
2727 _SERVICE_NAME : http-sms-api
28- _REGION : us-east1
28+ _REGION : us-east1
You can’t perform that action at this time.
0 commit comments