-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-bake.hcl
54 lines (48 loc) · 1.03 KB
/
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
46
47
48
49
50
51
52
53
54
variable "TAG" {
default = "latest"
}
group "default" {
targets = [
"des-api",
"des-worker",
"docs",
"frontend",
"webproxy"
]
}
target "des-api" {
context = "dighosp-des"
dockerfile = "api.Dockerfile"
tags = [
"ghcr.io/cam-digital-hospitals/monorepo-des-api:${TAG}"
]
}
target "des-worker" {
context = "dighosp-des"
dockerfile = "des-worker.Dockerfile"
tags = [
"ghcr.io/cam-digital-hospitals/monorepo-des-worker:${TAG}"
]
}
target "docs" {
context = "dighosp-docs"
dockerfile = "Dockerfile"
tags = [
"ghcr.io/cam-digital-hospitals/monorepo-docs:${TAG}"
]
}
target "frontend" {
context = "dighosp-frontend"
contexts = {assets = "assets"}
dockerfile = "Dockerfile"
tags = [
"ghcr.io/cam-digital-hospitals/monorepo-frontend:${TAG}"
]
}
target "webproxy" {
context = "nginx"
dockerfile = "Dockerfile"
tags = [
"ghcr.io/cam-digital-hospitals/monorepo-webproxy:${TAG}"
]
}