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 = [ cache-to = [
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-pnpm-buildcache:${BUILD_CACHE_KEY}", "mode": "max" } { "type": "registry", "ref": "${IMAGE_REGISTRY}/login-pnpm-buildcache:${BUILD_CACHE_KEY}", "mode": "max" }
] ]
# output = [ output = [
# { "type" : "image", "name": "${IMAGE_REGISTRY}/login-pnpm:${BUILD_CACHE_KEY}", push: true }, { "type" : "image", "name": "${IMAGE_REGISTRY}/login-pnpm:${BUILD_CACHE_KEY}", push: true },
# ] ]
} }
target "login-dev-base" { target "login-dev-base" {
cache-to = [ cache-to = [
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-dev-base-buildcache:${BUILD_CACHE_KEY}", "mode": "max" } { "type": "registry", "ref": "${IMAGE_REGISTRY}/login-dev-base-buildcache:${BUILD_CACHE_KEY}", "mode": "max" }
] ]
# output = [ output = [
# { "type" : "image", "name": "${IMAGE_REGISTRY}/login-dev-base:${BUILD_CACHE_KEY}", push: true }, { "type" : "image", "name": "${IMAGE_REGISTRY}/login-dev-base:${BUILD_CACHE_KEY}", push: true },
# ] ]
} }
target "login-lint" { target "login-lint" {
cache-to = [ cache-to = [
{ "type": "registry", "ref": "${IMAGE_REGISTRY}/login-lint-buildcache:${BUILD_CACHE_KEY}", "mode": "max" } { "type": "registry", "ref": "${IMAGE_REGISTRY}/login-lint-buildcache:${BUILD_CACHE_KEY}", "mode": "max" }
] ]
# output = [ output = [
# { "type" : "image", "name": "${IMAGE_REGISTRY}/login-lint:${BUILD_CACHE_KEY}", push: true }, { "type" : "image", "name": "${IMAGE_REGISTRY}/login-lint:${BUILD_CACHE_KEY}", push: true },
# ] ]
} }

View File

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