-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-bake.hcl
72 lines (65 loc) · 1.28 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
target "docker-metadata-action" {}
group "cli" {
targets = ["cli-arm64", "cli-amd64"]
}
target "cli-arm64" {
inherits = ["docker-metadata-action"]
context = "./"
dockerfile = "docker/cli.Dockerfile"
platforms = [
"linux/amd64",
]
args = {
GOOS = "linux"
GOARCH = "arm64"
}
}
target "cli-amd64" {
inherits = ["docker-metadata-action"]
context = "./"
dockerfile = "docker/cli.Dockerfile"
platforms = [
"linux/amd64",
]
args = {
GOOS = "linux"
GOARCH = "amd64"
}
}
target "base" {
inherits = ["docker-metadata-action"]
context = "./"
dockerfile = "docker/base.Dockerfile"
platforms = [
"linux/amd64",
]
target = "base"
}
target "default-all" {
inherits = ["docker-metadata-action"]
contexts = {
base = "target:base"
}
dockerfile = "docker/all.Dockerfile"
}
target "default-aws" {
inherits = ["docker-metadata-action"]
contexts = {
base = "target:base"
}
dockerfile = "docker/aws.Dockerfile"
}
target "default-azure" {
inherits = ["docker-metadata-action"]
contexts = {
base = "target:base"
}
dockerfile = "docker/azure.Dockerfile"
}
target "default-gcp" {
inherits = ["docker-metadata-action"]
contexts = {
base = "target:base"
}
dockerfile = "docker/gcp.Dockerfile"
}