-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-bake.hcl
More file actions
51 lines (45 loc) · 1.01 KB
/
docker-bake.hcl
File metadata and controls
51 lines (45 loc) · 1.01 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
variable "REGISTRY" {
default = "ghcr.io"
}
variable "REPO" {
default = "synergyai-nl/svelte-langgraph"
}
variable "TAG" {
default = "latest"
}
group "default" {
targets = ["langgraph-backend", "svelte-frontend"]
}
target "langgraph-backend" {
context = "."
dockerfile = "./examples/langgraph-backend/Dockerfile"
tags = [
"${REGISTRY}/${REPO}/langgraph-backend:${TAG}",
"${REGISTRY}/${REPO}/langgraph-backend:latest"
]
cache-from = [
"type=gha,scope=langgraph-backend"
]
cache-to = [
"type=gha,scope=langgraph-backend,mode=max"
]
platforms = ["linux/amd64"]
}
target "svelte-frontend" {
context = "."
dockerfile = "./examples/dashboard/Dockerfile"
tags = [
"${REGISTRY}/${REPO}/svelte-frontend:${TAG}",
"${REGISTRY}/${REPO}/svelte-frontend:latest"
]
cache-from = [
"type=gha,scope=svelte-frontend"
]
cache-to = [
"type=gha,scope=svelte-frontend,mode=max"
]
platforms = ["linux/amd64"]
}
group "all" {
targets = ["langgraph-backend", "svelte-frontend"]
}