-
-
Notifications
You must be signed in to change notification settings - Fork 224
Expand file tree
/
Copy pathdocker-bake.hcl
More file actions
51 lines (37 loc) · 1.01 KB
/
docker-bake.hcl
File metadata and controls
51 lines (37 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
group "default" {
targets = ["f1-dash", "f1-dash-api", "f1-dash-realtime"]
}
group "arm64" {
targets = ["f1-dash", "f1-dash-api", "f1-dash-realtime"]
platforms = ["linux/arm64"]
}
group "amd64" {
targets = ["f1-dash", "f1-dash-api", "f1-dash-realtime"]
platforms = ["linux/amd64"]
}
group "all" {
targets = ["f1-dash", "f1-dash-api", "f1-dash-realtime"]
platforms = ["linux/arm64", "linux/amd64"]
}
target "docker-metadata-action" {}
// actual servives and images below
target "f1-dash" {
inherits = ["docker-metadata-action"]
context = "./dashboard"
dockerfile = "dockerfile"
# tags = ["ghcr.io/slowlydev/f1-dash:latest"]
}
target "f1-dash-api" {
inherits = ["docker-metadata-action"]
context = "."
dockerfile = "dockerfile"
target = "api"
# tags = ["ghcr.io/slowlydev/f1-dash-api:latest"]
}
target "f1-dash-realtime" {
inherits = ["docker-metadata-action"]
context = "."
dockerfile = "dockerfile"
target = "realtime"
# tags = ["ghcr.io/slowlydev/f1-dash-realtime:latest"]
}