forked from TimPietrusky/worker-infinity-embedding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-bake.hcl
37 lines (32 loc) · 773 Bytes
/
docker-bake.hcl
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
28
29
30
31
32
33
34
35
36
37
variable "PUSH" {
default = "true"
}
variable "REPOSITORY" {
default = "runpod"
}
variable "WORKER_VERSION" {
default = "0.0.1"
}
group "all" {
targets = ["worker-1180", "worker-1210"]
}
target "worker-1180" {
tags = ["${REPOSITORY}/worker-infinity-text-embedding:${WORKER_VERSION}-cuda11.8.0"]
context = "."
dockerfile = "Dockerfile"
args = {
WORKER_VERSION = "${WORKER_VERSION}"
WORKER_CUDA_VERSION = "11.8.0"
}
output = ["type=docker,push=${PUSH}"]
}
target "worker-1210" {
tags = ["${REPOSITORY}/worker-infinity-text-embedding:${WORKER_VERSION}-cuda12.1.0"]
context = "."
dockerfile = "Dockerfile"
args = {
WORKER_VERSION = "${WORKER_VERSION}"
WORKER_CUDA_VERSION = "12.1.0"
}
output = ["type=docker,push=${PUSH}"]
}