mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-16 14:32:08 +08:00
Fix pass CI
This commit is contained in:
@@ -13,10 +13,14 @@ RUN pnpm install --frozen-lockfile
|
|||||||
COPY . .
|
COPY . .
|
||||||
COPY .next .next
|
COPY .next .next
|
||||||
|
|
||||||
|
ARG CI
|
||||||
ARG BUILDTIME
|
ARG BUILDTIME
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
ARG REVISION
|
ARG REVISION
|
||||||
|
|
||||||
|
# Make CI available in RUN steps
|
||||||
|
ENV CI=$CI
|
||||||
|
|
||||||
# Build only if needed (local use)
|
# Build only if needed (local use)
|
||||||
RUN pnpm run telemetry \
|
RUN pnpm run telemetry \
|
||||||
&& if [ "$CI" != "true" ]; then \
|
&& if [ "$CI" != "true" ]; then \
|
||||||
|
|||||||
Reference in New Issue
Block a user