Spaces:
Running
Running
Commit
·
e7161ee
1
Parent(s):
cc8a450
fix: workflow create model syntax
Browse files
.github/workflows/ci-production.yml
CHANGED
@@ -36,12 +36,12 @@ jobs:
|
|
36 |
id: create_model
|
37 |
run: |
|
38 |
MODEL_ID=$(gcloud ai models upload \
|
39 |
-
--
|
|
|
|
|
40 |
--container-predict-route="/predict" \
|
41 |
--container-health-route="/health" \
|
42 |
-
--region=${{ secrets.GCP_VERTEX_AI_REGION }} \
|
43 |
--display-name=interview-ai-detector-model \
|
44 |
-
--container-image-uri="${{ secrets.GCP_REPO_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/interview-ai-detector/model-prediction:latest" \
|
45 |
--format="value(model)")
|
46 |
echo "MODEL_ID=${MODEL_ID}" >> $GITHUB_ENV
|
47 |
|
|
|
36 |
id: create_model
|
37 |
run: |
|
38 |
MODEL_ID=$(gcloud ai models upload \
|
39 |
+
--region="${{ secrets.GCP_VERTEX_AI_REGION }}" \
|
40 |
+
--container-ports=8080 \
|
41 |
+
--container-image-uri="${{ secrets.GCP_REPO_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/interview-ai-detector/model-prediction:latest" \
|
42 |
--container-predict-route="/predict" \
|
43 |
--container-health-route="/health" \
|
|
|
44 |
--display-name=interview-ai-detector-model \
|
|
|
45 |
--format="value(model)")
|
46 |
echo "MODEL_ID=${MODEL_ID}" >> $GITHUB_ENV
|
47 |
|