-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-bake.hcl
57 lines (50 loc) · 1.07 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 "TAG" {
default = "latest"
}
variable "REPO" {
default = "ghcr.io/k8ieone"
}
group "default" {
targets = ["meta", "hub", "git", "hg"]
}
target "base" {
dockerfile = "Dockerfile"
context = "./base"
platforms = ["linux/amd64", "linux/arm64"]
}
target "meta" {
dockerfile = "Dockerfile"
context = "./services/meta.sr.ht"
contexts = {
base = "target:base"
}
tags = ["${REPO}/srht-meta:${TAG}"]
platforms = ["linux/amd64", "linux/arm64"]
}
target "hub" {
dockerfile = "Dockerfile"
context = "./services/hub.sr.ht"
contexts = {
base = "target:base"
}
tags = ["${REPO}/srht-hub:${TAG}"]
platforms = ["linux/amd64", "linux/arm64"]
}
target "git" {
dockerfile = "Dockerfile"
context = "./services/git.sr.ht"
contexts = {
base = "target:base"
}
tags = ["${REPO}/srht-git:${TAG}"]
platforms = ["linux/amd64", "linux/arm64"]
}
target "hg" {
dockerfile = "Dockerfile"
context = "./services/hg.sr.ht"
contexts = {
base = "target:base"
}
tags = ["${REPO}/srht-hg:${TAG}"]
platforms = ["linux/amd64", "linux/arm64"]
}