This commit is contained in:
Elio Bischof
2025-06-17 14:41:26 +02:00
parent e91aaf5db1
commit 13a23e3ccc
2 changed files with 19 additions and 13 deletions

View File

@@ -41,10 +41,7 @@ jobs:
with: with:
source: . source: .
push: false push: false
targets: | targets: login-pnpm,login-dev-base,login-lint
login-pnpm
login-dev-base
login-lint
provenance: false provenance: false
load: true load: true
- run: ls -la - run: ls -la

View File

@@ -12,10 +12,13 @@ target "login-pnpm" {
context = "." context = "."
dockerfile = "dockerfiles/login-pnpm.Dockerfile" dockerfile = "dockerfiles/login-pnpm.Dockerfile"
cache-from = [ cache-from = [
"type=registry,ref=${IMAGE_REGISTRY}/login-pnpm-buildcache:latest", { "type": "registry", "ref": "${IMAGE_REGISTRY}/login-pnpm-buildcache:latest" },
"type=registry,ref=${IMAGE_REGISTRY}/login-pnpm-buildcache:${BUILD_CACHE_KEY}" { "type": "registry", "ref": "${IMAGE_REGISTRY}/login-pnpm-buildcache:${BUILD_CACHE_KEY}" }
]
cache-to = [
{ "type": "inline" },
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-pnpm-buildcache:${BUILD_CACHE_KEY}", "mode": "max" }
] ]
cache-to = ["type=registry,ref=${IMAGE_REGISTRY}/login-pnpm-buildcache:${BUILD_CACHE_KEY},mode=max"]
} }
target "login-dev-base" { target "login-dev-base" {
@@ -25,10 +28,13 @@ target "login-dev-base" {
login-pnpm = "target:login-pnpm" login-pnpm = "target:login-pnpm"
} }
cache-from = [ cache-from = [
"type=registry,ref=${IMAGE_REGISTRY}/login-dev-base-buildcache:latest", {"type": "registry", "ref": "${IMAGE_REGISTRY}/login-dev-base-buildcache:latest"},
"type=registry,ref=${IMAGE_REGISTRY}/login-dev-base-buildcache:${BUILD_CACHE_KEY}" {"type": "registry", "ref": "${IMAGE_REGISTRY}/login-dev-base-buildcache:${BUILD_CACHE_KEY}"}
]
cache-to = [
{ "type": "inline" },
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-dev-base-buildcache:${BUILD_CACHE_KEY}", "mode": "max" }
] ]
cache-to = ["type=registry,ref=${IMAGE_REGISTRY}/login-dev-base-buildcache:${BUILD_CACHE_KEY},mode=max"]
} }
target "login-lint" { target "login-lint" {
@@ -38,10 +44,13 @@ target "login-lint" {
login-dev-base = "target:login-dev-base" login-dev-base = "target:login-dev-base"
} }
cache-from = [ cache-from = [
"type=registry,ref=${IMAGE_REGISTRY}/login-lint-buildcache:latest", {"type": "registry", "ref": "${IMAGE_REGISTRY}/login-lint-buildcache:latest"},
"type=registry,ref=${IMAGE_REGISTRY}/login-lint-buildcache:${BUILD_CACHE_KEY}" {"type": "registry", "ref": "${IMAGE_REGISTRY}/login-lint-buildcache:${BUILD_CACHE_KEY}"}
]
cache-to = [
{ "type": "inline"},
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-lint-buildcache:${BUILD_CACHE_KEY}", "mode": "max" }
] ]
cache-to = ["type=registry,ref=${IMAGE_REGISTRY}/login-lint-buildcache:${BUILD_CACHE_KEY},mode=max"]
} }
variable "LOGIN_TEST_UNIT_TAG" { variable "LOGIN_TEST_UNIT_TAG" {