bearking58 commited on
Commit
f580130
·
1 Parent(s): 6244d15

fix: docker build command

Browse files
core-model-prediction/cloudbuild.yaml CHANGED
@@ -1,13 +1,13 @@
1
  steps:
2
- - name: "docker"
3
  dir: "core-model-prediction"
 
4
  args:
5
- [
6
- "builds",
7
- "submit",
8
- "--tag",
9
- "gcr.io/${PROJECT_ID}/interview-ai-detector/model-prediction",
10
- ]
11
 
12
  - name: "gcr.io/google.com/cloudsdktool/cloud-sdk"
13
  entrypoint: "bash"
 
1
  steps:
2
+ - name: "gcr.io/google.com/cloudsdktool/cloud-sdk"
3
  dir: "core-model-prediction"
4
+ entrypoint: "bash"
5
  args:
6
+ - "-c"
7
+ - |
8
+ gcloud builds submit \
9
+ --region="${_GCP_REPO_REGION}"
10
+ --tag=${_GCP_REPO_REGION}-docker.pkg.dev/${PROJECT_ID}/interview-ai-detector/model-prediction
 
11
 
12
  - name: "gcr.io/google.com/cloudsdktool/cloud-sdk"
13
  entrypoint: "bash"