From 2fe72530a2956a103cd92551869f42e166a21c8a Mon Sep 17 00:00:00 2001 From: 0xsysr3ll <31414959+0xSysR3ll@users.noreply.github.com> Date: Wed, 12 Nov 2025 22:50:25 +0100 Subject: [PATCH] fix(docker): pass `COMMIT_TAG` to build stage for custom image builds (#2146) This PR fixes the issue where custom images built with `--build-arg COMMIT_TAG` would fail because the client bundle didn't receive the commit tag value. Signed-off-by: 0xsysr3ll <0xsysr3ll@pm.me> --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1d440f0a4..0959a3ccd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,9 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store CI=true pnpm install --prod -- FROM base AS build +ARG COMMIT_TAG +ENV COMMIT_TAG=${COMMIT_TAG} + RUN \ case "${TARGETPLATFORM}" in \ 'linux/arm64' | 'linux/arm/v7') \