feat: Generate crds in Dockerfile
Some checks failed
Build and deploy / build (push) Failing after 11m40s

This commit is contained in:
2025-12-21 06:40:17 +01:00
parent f1005138f4
commit cdb493d08b
3 changed files with 13 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ variable "TAG_BASE" {}
variable "RELEASE_VERSION" {}
group "default" {
targets = ["lldap-controller"]
targets = ["lldap-controller", "manifests"]
}
target "docker-metadata-action" {}
@@ -12,4 +12,12 @@ target "lldap-controller" {
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"]
}