🐛 固定前端构建缓存版本
This commit is contained in:
1 parent
4ee06e2d29
commit
56a86c59cf
1 file changed
+2
-1
+2
-1
@@ -15,7 +15,8 @@ WORKDIR /build
|
||||
# 克隆并构建 2024 主题
|
||||
ARG FRONTEND_2024_REPO=https://git.orionc.me/orion/FileCodeBoxFronted.git
|
||||
ARG FRONTEND_2024_BRANCH=main
|
||||
ARG FRONTEND_CACHE_BUST=1
|
||||
# 每次更新 2026 前端后,同步为测试分支已验证的提交,避免 Docker 复用过期的远端前端构建层。
|
||||
ARG FRONTEND_CACHE_BUST=2bf610ac224202caa4278b9ec8699bc4514da842
|
||||
RUN echo "$FRONTEND_CACHE_BUST" >/tmp/frontend-cache-bust && \
|
||||
git clone --filter=blob:none --no-checkout "$FRONTEND_2024_REPO" /build/fronted-2024 && \
|
||||
cd /build/fronted-2024 && \
|
||||
|
||||
Reference in new issue
Block a user