mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 13:19:21 +00:00
optimize
This commit is contained in:
2
.github/workflows/login-container.yml
vendored
2
.github/workflows/login-container.yml
vendored
@@ -78,6 +78,6 @@ jobs:
|
|||||||
targets: login-standalone
|
targets: login-standalone
|
||||||
files: |
|
files: |
|
||||||
./apps/login/docker-bake.hcl
|
./apps/login/docker-bake.hcl
|
||||||
./apps/login/docker-bake-release.hcl
|
${{ github.event_name == 'workflow_dispatch' && './apps/login/docker-bake-release.hcl' || '' }}
|
||||||
./docker-bake.hcl
|
./docker-bake.hcl
|
||||||
cwd://${{ steps.login-meta.outputs.bake-file }}
|
cwd://${{ steps.login-meta.outputs.bake-file }}
|
||||||
|
@@ -27,9 +27,10 @@ WORKDIR /build
|
|||||||
COPY --from=installer /install/ .
|
COPY --from=installer /install/ .
|
||||||
COPY --from=pruner /prune/out/full/ .
|
COPY --from=pruner /prune/out/full/ .
|
||||||
COPY proto ./proto
|
COPY proto ./proto
|
||||||
|
ENV CI=true
|
||||||
RUN --mount=type=cache,id=turbo,target=/build/.turbo/cache \
|
RUN --mount=type=cache,id=turbo,target=/build/.turbo/cache \
|
||||||
--mount=type=cache,id=next,target=/build/apps/login/.next/cache \
|
--mount=type=cache,id=next,target=/build/apps/login/.next/cache \
|
||||||
pnpm turbo build:login:standalone
|
pnpm turbo build:login:standalone --cache-dir=/build/.turbo/cache
|
||||||
|
|
||||||
FROM scratch AS build-out
|
FROM scratch AS build-out
|
||||||
COPY /apps/login/public ./apps/login/public
|
COPY /apps/login/public ./apps/login/public
|
||||||
|
Reference in New Issue
Block a user