-
Notifications
You must be signed in to change notification settings - Fork 45
/
docker-bake.hcl
57 lines (46 loc) · 1.04 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
55
56
57
variable "REPOSITORY" {
default = "localhost"
}
variable "TAG" {
default = "dev"
}
group "default" {
targets = ["cron", "fetcher", "frontend", "migrate", "renderer", "tusd-hooks", "upload-assets"]
}
target "cron" {
target = "cron"
tags = ["${REPOSITORY}/cron:${TAG}"]
}
target "fetcher" {
target = "fetcher"
tags = ["${REPOSITORY}/fetcher:${TAG}"]
}
target "frontend" {
target = "frontend"
tags = ["${REPOSITORY}/frontend:${TAG}"]
}
target "migrate" {
target = "migrate"
tags = ["${REPOSITORY}/migrate:${TAG}"]
}
target "renderer" {
target = "renderer"
tags = ["${REPOSITORY}/renderer:${TAG}"]
}
target "tusd-hooks" {
target = "tusd-hooks"
tags = ["${REPOSITORY}/tusd-hooks:${TAG}"]
}
target "upload-assets" {
target = "upload-assets"
tags = ["${REPOSITORY}/upload-assets:${TAG}"]
}
target "unittest" {
target = "unittest"
tags = ["${REPOSITORY}/unittest:${TAG}"]
}
target "integration-test" {
dockerfile = "Dockerfile.integration-test"
target = "cloudbuild"
tags = ["${REPOSITORY}/integration-test:${TAG}"]
}