Compare commits

..

3 Commits

Author SHA1 Message Date
20b058b221 feat: Cache docker builds
All checks were successful
Build and deploy / build (push) Successful in 24m12s
2025-12-23 03:35:44 +01:00
5a2926b76f chore: Remove ./ from kustomization for consistency
All checks were successful
Build and deploy / build (push) Successful in 10m46s
2025-12-23 01:38:49 +01:00
0de7c36592 feat: Create namespace and set it explicitly 2025-12-23 01:38:49 +01:00
2 changed files with 17 additions and 1 deletions

View File

@@ -6,9 +6,23 @@ group "default" {
} }
target "docker-metadata-action" {} target "docker-metadata-action" {}
target "cache" {
cache-from = [
{
type = "gha",
}
]
cache-to = [
{
type = "gha",
mode = "max"
}
]
}
target "lldap-controller" { target "lldap-controller" {
inherits = ["docker-metadata-action"] inherits = ["docker-metadata-action", "cache"]
context = "./" context = "./"
dockerfile = "Dockerfile" dockerfile = "Dockerfile"
tags = [for tag in target.docker-metadata-action.tags : "${TAG_BASE}:${tag}"] tags = [for tag in target.docker-metadata-action.tags : "${TAG_BASE}:${tag}"]
@@ -16,6 +30,7 @@ target "lldap-controller" {
} }
target "manifests" { target "manifests" {
inherits = ["cache"]
context = "./" context = "./"
dockerfile = "Dockerfile" dockerfile = "Dockerfile"
target = "manifests" target = "manifests"

View File

@@ -6,6 +6,7 @@ metadata:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: lldap-controller name: lldap-controller
namespace: lldap
roleRef: roleRef:
kind: ClusterRole kind: ClusterRole
name: lldap-controller name: lldap-controller