push base images

This commit is contained in:
Elio Bischof
2025-06-18 09:44:09 +02:00
parent 9fb4795e7f
commit 72808542ee
2 changed files with 15 additions and 15 deletions

View File

@@ -4,25 +4,25 @@ target "login-pnpm" {
cache-to = [
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-pnpm-buildcache:${BUILD_CACHE_KEY}", "mode": "max" }
]
# output = [
# { "type" : "image", "name": "${IMAGE_REGISTRY}/login-pnpm:${BUILD_CACHE_KEY}", push: true },
# ]
output = [
{ "type" : "image", "name": "${IMAGE_REGISTRY}/login-pnpm:${BUILD_CACHE_KEY}", push: true },
]
}
target "login-dev-base" {
cache-to = [
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-dev-base-buildcache:${BUILD_CACHE_KEY}", "mode": "max" }
]
# output = [
# { "type" : "image", "name": "${IMAGE_REGISTRY}/login-dev-base:${BUILD_CACHE_KEY}", push: true },
# ]
output = [
{ "type" : "image", "name": "${IMAGE_REGISTRY}/login-dev-base:${BUILD_CACHE_KEY}", push: true },
]
}
target "login-lint" {
cache-to = [
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-lint-buildcache:${BUILD_CACHE_KEY}", "mode": "max" }
]
# output = [
# { "type" : "image", "name": "${IMAGE_REGISTRY}/login-lint:${BUILD_CACHE_KEY}", push: true },
# ]
output = [
{ "type" : "image", "name": "${IMAGE_REGISTRY}/login-lint:${BUILD_CACHE_KEY}", push: true },
]
}

View File

@@ -15,8 +15,8 @@ target "_platforms" {
target "login-pnpm" {
inherits = ["_platforms"]
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}" },
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-pnpm-buildcache:latest" },
]
dockerfile = "dockerfiles/login-pnpm.Dockerfile"
}
@@ -24,8 +24,8 @@ target "login-pnpm" {
target "login-dev-base" {
inherits = ["_platforms"]
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}"},
{"type": "registry", "ref": "${IMAGE_REGISTRY}/login-dev-base-buildcache:latest"},
]
dockerfile = "dockerfiles/login-dev-base.Dockerfile"
contexts = {
@@ -36,8 +36,8 @@ target "login-dev-base" {
target "login-lint" {
inherits = ["_platforms"]
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}"},
{"type": "registry", "ref": "${IMAGE_REGISTRY}/login-lint-buildcache:latest"},
]
dockerfile = "dockerfiles/login-lint.Dockerfile"
contexts = {