minceraftOS/container/docker-bake.hcl
2025-03-12 22:20:47 +03:00

21 lines
447 B
HCL

variable "MIRROR" {
default = "https://repo-ci.voidlinux.org/"
}
target "docker-metadata-action" {}
target "_common" {
inherits = ["docker-metadata-action"]
dockerfile = "container/Containerfile"
cache-to = ["type=local,dest=/tmp/buildx-cache"]
cache-from = ["type=local,src=/tmp/buildx-cache"]
args = {
"MIRROR" = "${MIRROR}"
}
}
target "void-mklive" {
inherits = ["_common"]
platforms = ["linux/amd64", "linux/arm64"]
}