-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloudbuild.yaml
More file actions
27 lines (25 loc) · 840 Bytes
/
Copy pathcloudbuild.yaml
File metadata and controls
27 lines (25 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
steps:
- name: gcr.io/cloud-builders/docker
args:
- build
- --build-arg
- COMPRESSOR_MODEL=${_COMPRESSOR_MODEL}
- --build-arg
- COMPRESSOR_MODEL_REVISION=${_COMPRESSOR_MODEL_REVISION}
- --build-arg
- COMPRESSOR_GIT_COMMIT=${_COMPRESSOR_GIT_COMMIT}
- --build-arg
- COMPRESSOR_SOURCE_SHA256=${_COMPRESSOR_SOURCE_SHA256}
- -t
- ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_SERVICE}:latest
- .
images:
- ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_SERVICE}:latest
substitutions:
_REGION: us-central1
_REPO: prompt-compression
_SERVICE: prompt-compression
_COMPRESSOR_MODEL: microsoft/llmlingua-2-bert-base-multilingual-cased-meetingbank
_COMPRESSOR_MODEL_REVISION: main
_COMPRESSOR_GIT_COMMIT: unknown
_COMPRESSOR_SOURCE_SHA256: unknown