feat: Update workflow to use docker bake

This commit is contained in:
2025-12-21 06:38:13 +01:00
parent 72bb27aae0
commit f1005138f4
2 changed files with 16 additions and 1 deletions

15
docker-bake.hcl Normal file
View File

@@ -0,0 +1,15 @@
variable "TAG_BASE" {}
variable "RELEASE_VERSION" {}
group "default" {
targets = ["lldap-controller"]
}
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}"]
}