mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-03 21:22:13 +00:00
increse fetch depth
This commit is contained in:
2
.github/workflows/ffo-test.yml
vendored
2
.github/workflows/ffo-test.yml
vendored
@@ -12,6 +12,8 @@ jobs:
|
||||
group: zitadel-public
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
- uses: docker/bake-action@v6
|
||||
with:
|
||||
|
||||
@@ -17,7 +17,6 @@ RUN make core_build
|
||||
|
||||
FROM base AS build
|
||||
RUN make compile_pipeline
|
||||
RUN ls -la && pwd
|
||||
|
||||
FROM base AS lint
|
||||
RUN make core_lint
|
||||
|
||||
@@ -49,6 +49,18 @@ target "console" {
|
||||
"lint" = []
|
||||
"image" = ["${REGISTRY}/console:${GITHUB_SHA}"]
|
||||
}[tgt]
|
||||
cache-to = {
|
||||
"build" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"output" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"lint" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"image" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
}[tgt]
|
||||
cache-from = {
|
||||
"build" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"output" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"lint" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"image" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
}[tgt]
|
||||
target = tgt
|
||||
}
|
||||
|
||||
@@ -82,6 +94,18 @@ target "core" {
|
||||
"output" = []
|
||||
"lint" = []
|
||||
"image" = ["${REGISTRY}/zitadel:${GITHUB_SHA}"]
|
||||
}[tgt]
|
||||
cache-to = {
|
||||
"build" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"output" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"lint" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"image" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
}[tgt]
|
||||
cache-from = {
|
||||
"build" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"output" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"lint" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
"image" = ["type=gha,ignore-error=true,mode=max,scope=${tgt}"]
|
||||
}[tgt]
|
||||
target = tgt
|
||||
}
|
||||
Reference in New Issue
Block a user