Files
lldap-controller/docker-bake.hcl
Dreaded_X 75c4b2a169
Some checks failed
Build and deploy / build (push) Failing after 11m59s
feat: Generate crds in Dockerfile
2025-12-21 16:05:43 +01:00

24 lines
514 B
HCL

variable "TAG_BASE" {}
variable "RELEASE_VERSION" {}
group "default" {
targets = ["lldap-controller", "manifests"]
}
target "docker-metadata-action" {}
target "lldap-controller" {
inherits = ["docker-metadata-action"]
context = "./"
dockerfile = "Dockerfile"
tags = [for tag in target.docker-metadata-action.tags : "${TAG_BASE}:${tag}"]
target = "runtime"
}
target "manifests" {
context = "./"
dockerfile = "Dockerfile"
target = "manifests"
output = [{ type = "cacheonly" }, "manifests"]
}