This commit is contained in:
Elio Bischof
2025-06-17 21:18:20 +02:00
parent 1d33c96b9e
commit 5ef600e181

View File

@@ -10,20 +10,18 @@ variable "BUILD_CACHE_KEY" {
target "login-pnpm" {
cache-from = [
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-pnpm-buildcache:${BUILD_CACHE_KEY}" },
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-pnpm-buildcache:latest" },
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-pnpm-buildcache:${BUILD_CACHE_KEY}" }
]
dockerfile = "dockerfiles/login-pnpm.Dockerfile"
context = "."
}
target "login-dev-base" {
cache-from = [
{"type": "registry", "ref": "${IMAGE_REGISTRY}/login-dev-base-buildcache:${BUILD_CACHE_KEY}"},
{"type": "registry", "ref": "${IMAGE_REGISTRY}/login-dev-base-buildcache:latest"},
{"type": "registry", "ref": "${IMAGE_REGISTRY}/login-dev-base-buildcache:${BUILD_CACHE_KEY}"}
]
dockerfile = "dockerfiles/login-dev-base.Dockerfile"
context = "."
contexts = {
login-pnpm = "target:login-pnpm"
}
@@ -31,11 +29,10 @@ target "login-dev-base" {
target "login-lint" {
cache-from = [
{"type": "registry", "ref": "${IMAGE_REGISTRY}/login-lint-buildcache:${BUILD_CACHE_KEY}"},
{"type": "registry", "ref": "${IMAGE_REGISTRY}/login-lint-buildcache:latest"},
{"type": "registry", "ref": "${IMAGE_REGISTRY}/login-lint-buildcache:${BUILD_CACHE_KEY}"}
]
dockerfile = "dockerfiles/login-lint.Dockerfile"
context = "."
contexts = {
login-dev-base = "target:login-dev-base"
}