From 1a0d88b01766a95a61b6065a2aa15070d7ea5e2c Mon Sep 17 00:00:00 2001 From: copilotcoder Date: Wed, 15 Jul 2026 12:05:08 -0400 Subject: [PATCH] Stabilize frontend image builds and shared CI registry auth --- .gitea/workflows/cicd.yaml | 2 +- Dockerfile.frontend | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/cicd.yaml b/.gitea/workflows/cicd.yaml index 410532c..6c7fc88 100644 --- a/.gitea/workflows/cicd.yaml +++ b/.gitea/workflows/cicd.yaml @@ -1364,7 +1364,7 @@ jobs: DEPLOYABLE_FRONTEND_CACHE_REF="${DEPLOYABLE_FRONTEND_REPO}:cache" retry_registry_op pull "${DEPLOYABLE_FRONTEND_CACHE_REF}" 5 3 || true - DOCKER_BUILDKIT=1 docker build -f Dockerfile.frontend \ + BUILDKIT_NO_CLIENT_TOKEN=1 DOCKER_BUILDKIT=1 docker build -f Dockerfile.frontend \ --target production \ --cache-from "${DEPLOYABLE_FRONTEND_CACHE_REF}" \ --build-arg BUILDKIT_INLINE_CACHE=1 \ diff --git a/Dockerfile.frontend b/Dockerfile.frontend index a58a56c..1730797 100644 --- a/Dockerfile.frontend +++ b/Dockerfile.frontend @@ -19,8 +19,7 @@ RUN set -eux; \ done; \ return 1; \ }; \ - corepack enable; \ - retry 5 corepack prepare yarn@4.10.3 --activate; \ + retry 5 npm install -g --force @yarnpkg/cli-dist@4.10.3; \ retry 5 yarn install --immutable FROM deps AS build