Skip to content

Commit f30fe15

Browse files
committed
improve baked variables
1 parent 348a4c4 commit f30fe15

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docker-bake.hcl

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,20 @@ variable "MULTI_PLATFORM" {
1010
default = false
1111
}
1212

13+
variable "GOVERSION" {
14+
default = "1.23.9"
15+
}
16+
17+
variable "ALPINEVERSION" {
18+
default = "3.21"
19+
}
20+
1321
target "default" {
1422
target = "build"
1523
args = {
16-
VERSION = "${CLOUDFLARED_VERSION}"
17-
GOVERSION = "1.23.9"
18-
ALPINEVERSION = "3.21"
24+
VERSION = CLOUDFLARED_VERSION
25+
GOVERSION = GOVERSION
26+
ALPINEVERSION = ALPINEVERSION
1927
}
2028
platforms = !MULTI_PLATFORM ? null : [
2129
"linux/amd64",

0 commit comments

Comments
 (0)