This repository has been archived by the owner on Nov 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
/
bake.hcl
123 lines (109 loc) · 1.79 KB
/
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
variable VERSION {
default = "1.6.3"
}
variable HUB {
default = "istio"
}
variable BASE_VERSION {
default = "2020-07-10"
}
group "default" {
targets = [
"proxyv2",
"pilot",
"operator"
]
}
group "proxyv2" {
targets = [
"proxyv2-amd64",
"proxyv2-arm64",
]
}
group "pilot" {
targets = [
"pilot-amd64",
"pilot-arm64",
]
}
group "operator" {
targets = [
"operator-amd64",
"operator-arm64",
]
}
target "proxyv2-arm64" {
dockerfile = "proxyv2-arm64.Dockerfile"
tags = [
"${HUB}/proxyv2:${VERSION}-arm64"
]
args = {
BASE_DISTRIBUTION = "${HUB}/base:${BASE_VERSION}"
VERSION = "${VERSION}"
}
platforms = [
"linux/arm64"
]
}
target "pilot-arm64" {
dockerfile = "pilot-arm64.Dockerfile"
tags = [
"${HUB}/pilot:${VERSION}-arm64"
]
args = {
BASE_DISTRIBUTION = "${HUB}/base:${BASE_VERSION}"
VERSION = "${VERSION}"
}
platforms = [
"linux/arm64"
]
}
target "operator-arm64" {
dockerfile = "operator-arm64.Dockerfile"
tags = [
"${HUB}/operator:${VERSION}-arm64"
]
args = {
BASE_DISTRIBUTION = "${HUB}/base:${BASE_VERSION}"
VERSION = "${VERSION}"
}
platforms = [
"linux/arm64"
]
}
target "operator-amd64" {
dockerfile = "operator-amd64.Dockerfile"
tags = [
"${HUB}/operator:${VERSION}-amd64"
]
args = {
VERSION = "${VERSION}"
}
platforms = [
"linux/amd64"
]
}
target "pilot-amd64" {
dockerfile = "pilot-amd64.Dockerfile"
tags = [
"${HUB}/pilot:${VERSION}-amd64"
]
args = {
VERSION = "${VERSION}"
}
platforms = [
"linux/amd64"
]
}
target "proxyv2-amd64" {
dockerfile = "proxyv2-amd64.Dockerfile"
tags = [
"${HUB}/proxyv2:${VERSION}-amd64"
]
args = {
VERSION = "${VERSION}"
}
platforms = [
"linux/amd64"
]
}