mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 11:07:32 +00:00
use cache
This commit is contained in:
@@ -6,6 +6,7 @@ group "default" {
|
||||
|
||||
target "login-pnpm" {
|
||||
dockerfile = "dockerfiles/login-pnpm.Dockerfile"
|
||||
output = ["type=docker"]
|
||||
cache-from = ["type=gha,scope=login-pnpm"]
|
||||
cache-to = ["type=gha,scope=login-pnpm,ignore-error=true,mode=max"]
|
||||
}
|
||||
@@ -15,10 +16,26 @@ target "login-dev-base" {
|
||||
contexts = {
|
||||
login-pnpm = "target:login-pnpm"
|
||||
}
|
||||
output = ["type=docker"]
|
||||
cache-from = ["type=gha,scope=login-dev-base"]
|
||||
cache-to = ["type=gha,scope=login-dev-base,ignore-error=true,mode=max"]
|
||||
}
|
||||
|
||||
variable "LOGIN_LINT_TAG" {
|
||||
default = "login-lint:local"
|
||||
}
|
||||
|
||||
target "login-lint" {
|
||||
dockerfile = "dockerfiles/login-lint.Dockerfile"
|
||||
contexts = {
|
||||
login-dev-base = "target:login-dev-base"
|
||||
}
|
||||
tags = ["${LOGIN_LINT_TAG}"]
|
||||
output = ["type=docker"]
|
||||
cache-from = ["type=gha,scope=login-lint"]
|
||||
cache-to = ["type=gha,scope=login-lint,ignore-error=true,mode=max"]
|
||||
}
|
||||
|
||||
variable "LOGIN_TEST_UNIT_TAG" {
|
||||
default = "login-test-unit:local"
|
||||
}
|
||||
@@ -32,20 +49,6 @@ target "login-test-unit" {
|
||||
tags = ["${LOGIN_TEST_UNIT_TAG}"]
|
||||
}
|
||||
|
||||
variable "LOGIN_LINT_TAG" {
|
||||
default = "login-lint:local"
|
||||
}
|
||||
|
||||
target "login-lint" {
|
||||
dockerfile = "dockerfiles/login-lint.Dockerfile"
|
||||
contexts = {
|
||||
login-dev-base = "target:login-dev-base"
|
||||
}
|
||||
tags = ["${LOGIN_LINT_TAG}"]
|
||||
cache-from = ["type=gha,scope=login-lint"]
|
||||
cache-to = ["type=gha,scope=login-lint,ignore-error=true,mode=max"]
|
||||
}
|
||||
|
||||
target "login-client" {
|
||||
dockerfile = "dockerfiles/login-client.Dockerfile"
|
||||
contexts = {
|
||||
|
Reference in New Issue
Block a user