addons-server/docker-bake.hcl

30 строки
529 B
HCL
Исходник Постоянная ссылка Обычный вид История

group "default" {
targets = ["web"]
}
variable DOCKER_BUILD {}
variable DOCKER_COMMIT {}
variable DOCKER_VERSION {}
variable DOCKER_TARGET {}
variable DOCKER_TAG {}
target "web" {
context = "."
dockerfile = "Dockerfile"
target = "${DOCKER_TARGET}"
tags = ["${DOCKER_TAG}"]
platforms = ["linux/amd64"]
args = {
DOCKER_COMMIT = "${DOCKER_COMMIT}"
DOCKER_VERSION = "${DOCKER_VERSION}"
DOCKER_BUILD = "${DOCKER_BUILD}"
DOCKER_TARGET = "${DOCKER_TARGET}"
}
pull = true
output = [
"type=docker",
]
}