forked from yuzutech/kroki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-bake.hcl
46 lines (38 loc) · 930 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
38
39
40
41
42
43
44
45
variable "TAG" {
default = "latest"
}
group "default" {
targets = ["kroki", "kroki-blockdiag", "kroki-mermaid", "kroki-bpmn", "kroki-excalidraw", "kroki-diagramsnet"]
}
target "kroki" {
context = "server"
contexts = {
nomnoml = "./nomnoml"
vega = "./vega"
dbml = "./dbml"
wavedrom = "./wavedrom"
bytefield = "./bytefield"
}
dockerfile = "ops/docker/jdk11-alpine/Dockerfile"
tags = ["yuzutech/kroki:${TAG}"]
}
target "kroki-blockdiag" {
context = "blockdiag"
tags = ["yuzutech/kroki-blockdiag:${TAG}"]
}
target "kroki-mermaid" {
context = "mermaid"
tags = ["yuzutech/kroki-mermaid:${TAG}"]
}
target "kroki-bpmn" {
context = "bpmn"
tags = ["yuzutech/kroki-bpmn:${TAG}"]
}
target "kroki-excalidraw" {
context = "excalidraw"
tags = ["yuzutech/kroki-excalidraw:${TAG}"]
}
target "kroki-diagramsnet" {
context = "diagrams.net"
tags = ["yuzutech/kroki-diagramsnet:${TAG}"]
}