mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 11:27:33 +00:00
use cache
This commit is contained in:
@@ -1,18 +1,9 @@
|
|||||||
group "default" {
|
group "default" {
|
||||||
targets = [
|
targets = [
|
||||||
"login-lint",
|
"login-lint",
|
||||||
"login-test-unit",
|
|
||||||
"core-mock",
|
|
||||||
"login-test-integration",
|
|
||||||
"login-test-acceptance",
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "default" {
|
|
||||||
cache-from = ["type=gha"]
|
|
||||||
cache-to = ["type=gha,ignore-error=true,mode=max"]
|
|
||||||
}
|
|
||||||
|
|
||||||
target "login-pnpm" {
|
target "login-pnpm" {
|
||||||
dockerfile = "dockerfiles/login-pnpm.Dockerfile"
|
dockerfile = "dockerfiles/login-pnpm.Dockerfile"
|
||||||
}
|
}
|
||||||
@@ -33,6 +24,8 @@ target "login-test-unit" {
|
|||||||
contexts = {
|
contexts = {
|
||||||
login-client = "target:login-client"
|
login-client = "target:login-client"
|
||||||
}
|
}
|
||||||
|
cache-from = ["type=gha,scope=lint"]
|
||||||
|
cache-to = ["type=gha,scope=lint,ignore-error=true,mode=max"]
|
||||||
output = ["type=docker"]
|
output = ["type=docker"]
|
||||||
tags = ["${LOGIN_TEST_UNIT_TAG}"]
|
tags = ["${LOGIN_TEST_UNIT_TAG}"]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user