1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-14 00:11:28 +05:30
Files
docker-credential-helpers/docker-bake.hcl
T
2022-08-20 17:32:00 +02:00

32 lines
450 B
HCL

variable "GO_VERSION" {
default = "1.16.7"
}
variable "DESTDIR" {
default = "./bin"
}
target "_common" {
args = {
GO_VERSION = GO_VERSION
}
}
group "default" {
targets = ["binaries"]
}
target "binaries" {
inherits = ["_common"]
target = "binaries"
output = [DESTDIR]
platforms = [
"darwin/amd64",
"darwin/arm64",
"linux/amd64",
"linux/arm64",
"linux/arm/v7",
"linux/arm/v6",
"windows/amd64"
]
}