Spaces:
Sleeping
Sleeping
Commit
·
c3aed00
1
Parent(s):
36e3f2d
fix: try to change from gcr io to art reg
Browse files- cloudbuild.yaml +2 -2
cloudbuild.yaml
CHANGED
|
@@ -4,7 +4,7 @@ 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 |
|
|
@@ -16,7 +16,7 @@ steps:
|
|
| 16 |
MODEL_ID=$(gcloud ai models upload \
|
| 17 |
--region="us-central1" \
|
| 18 |
--container-ports=8080 \
|
| 19 |
-
--container-image-uri="
|
| 20 |
--container-predict-route="/predict" \
|
| 21 |
--container-health-route="/health" \
|
| 22 |
--display-name="interview-ai-detector-model" \
|
|
|
|
| 4 |
[
|
| 5 |
"build",
|
| 6 |
"-t",
|
| 7 |
+
"us-central1-docker.pkg.dev/${PROJECT_ID}/interview-ai-detector/model-prediction",
|
| 8 |
"./core-model-prediction",
|
| 9 |
]
|
| 10 |
|
|
|
|
| 16 |
MODEL_ID=$(gcloud ai models upload \
|
| 17 |
--region="us-central1" \
|
| 18 |
--container-ports=8080 \
|
| 19 |
+
--container-image-uri="us-central1-docker.pkg.dev/${PROJECT_ID}/interview-ai-detector/model-prediction:latest" \
|
| 20 |
--container-predict-route="/predict" \
|
| 21 |
--container-health-route="/health" \
|
| 22 |
--display-name="interview-ai-detector-model" \
|