Spaces:
Running
Running
Commit
·
c4e6c5e
1
Parent(s):
c3aed00
fix: add docker push to trigger image push
Browse files- cloudbuild.yaml +8 -1
cloudbuild.yaml
CHANGED
|
@@ -4,10 +4,17 @@ steps:
|
|
| 4 |
[
|
| 5 |
"build",
|
| 6 |
"-t",
|
| 7 |
-
"us-central1-docker.pkg.dev/${PROJECT_ID}/interview-ai-detector/model-prediction",
|
| 8 |
"./core-model-prediction",
|
| 9 |
]
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
- name: "gcr.io/google.com/cloudsdktool/cloud-sdk"
|
| 12 |
entrypoint: "bash"
|
| 13 |
args:
|
|
|
|
| 4 |
[
|
| 5 |
"build",
|
| 6 |
"-t",
|
| 7 |
+
"us-central1-docker.pkg.dev/${PROJECT_ID}/interview-ai-detector/model-prediction:latest",
|
| 8 |
"./core-model-prediction",
|
| 9 |
]
|
| 10 |
|
| 11 |
+
- name: "gcr.io/cloud-builders/docker"
|
| 12 |
+
args:
|
| 13 |
+
[
|
| 14 |
+
"push",
|
| 15 |
+
"us-central1-docker.pkg.dev/${PROJECT_ID}/interview-ai-detector/model-prediction:latest",
|
| 16 |
+
]
|
| 17 |
+
|
| 18 |
- name: "gcr.io/google.com/cloudsdktool/cloud-sdk"
|
| 19 |
entrypoint: "bash"
|
| 20 |
args:
|