mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-21 10:20:13 +00:00
fix
This commit is contained in:
@@ -62,7 +62,11 @@ FROM base AS lint
|
||||
COPY --from=console ./ internal/api/ui/console/static
|
||||
COPY .golangci.yaml ./
|
||||
COPY .git/ ./.git/
|
||||
RUN make core_lint
|
||||
RUN golangci-lint run \
|
||||
--timeout 10m \
|
||||
--config ./.golangci.yaml \
|
||||
--out-format=github-actions \
|
||||
--concurrency=$$(getconf _NPROCESSORS_ONLN)
|
||||
|
||||
FROM base AS unit-test
|
||||
COPY --from=console ./ internal/api/ui/console/static
|
||||
|
@@ -48,7 +48,7 @@ target "console" {
|
||||
output = {
|
||||
"build" = ["type=local,dest=.build/console"]
|
||||
"lint" = ["type=cacheonly"]
|
||||
"image" = ["type=docker"]
|
||||
"image" = ["type=image"]
|
||||
"generate" = ["type=local,dest=./"]
|
||||
}[tgt]
|
||||
tags = {
|
||||
@@ -69,6 +69,13 @@ target "console" {
|
||||
"image" = ["type=gha,scope=console-${tgt}"]
|
||||
"generate" = ["type=gha,scope=console-${tgt}"]
|
||||
}[tgt]
|
||||
platforms = {
|
||||
"build" = []
|
||||
"lint" = []
|
||||
"unit" = []
|
||||
"image" = ["linux/amd64", "linux/arm64"]
|
||||
"generate" = []
|
||||
}[tgt]
|
||||
target = tgt
|
||||
}
|
||||
|
||||
@@ -95,14 +102,14 @@ target "core" {
|
||||
"build" = ["type=local,dest=.build/core"]
|
||||
"lint" = ["type=cacheonly"]
|
||||
"unit" = ["type=local,dest=./.build/core"]
|
||||
"image" = ["type=docker"]
|
||||
"image" = ["type=image"]
|
||||
"generate" = ["type=local,dest=./"]
|
||||
}[tgt]
|
||||
tags = {
|
||||
"build" = []
|
||||
"lint" = []
|
||||
"unit" = []
|
||||
"image" = ["${REGISTRY}/hodor:${GITHUB_SHA}"]
|
||||
"image" = ["${REGISTRY}/zitadel:${GITHUB_SHA}"]
|
||||
"generate" = []
|
||||
}[tgt]
|
||||
cache-to = {
|
||||
|
Reference in New Issue
Block a user