use cache

This commit is contained in:
Elio Bischof
2025-06-16 23:50:46 +02:00
parent 752607e9a5
commit eebb78469d

View File

@@ -1,18 +1,9 @@
group "default" { group "default" {
targets = [ targets = [
"login-lint", "login-lint",
"login-test-unit",
"core-mock",
"login-test-integration",
"login-test-acceptance",
] ]
} }
target "default" {
cache-from = ["type=gha"]
cache-to = ["type=gha,ignore-error=true,mode=max"]
}
target "login-pnpm" { target "login-pnpm" {
dockerfile = "dockerfiles/login-pnpm.Dockerfile" dockerfile = "dockerfiles/login-pnpm.Dockerfile"
} }
@@ -33,6 +24,8 @@ target "login-test-unit" {
contexts = { contexts = {
login-client = "target:login-client" login-client = "target:login-client"
} }
cache-from = ["type=gha,scope=lint"]
cache-to = ["type=gha,scope=lint,ignore-error=true,mode=max"]
output = ["type=docker"] output = ["type=docker"]
tags = ["${LOGIN_TEST_UNIT_TAG}"] tags = ["${LOGIN_TEST_UNIT_TAG}"]
} }