fix(agent): Dockerfile agent-builder 缺少 ARG VERSION 导致 agent.version 为空

This commit is contained in:
attacker committed 2026-06-24 14:07:13 +00:00
1 parent bbba67c291
commit 2c170589c6
1 file changed
+3
+3
View File
@@ -46,6 +46,9 @@ RUN --mount=type=cache,target=/go/pkg/mod \
# ==================== Stage 2: Agent Builder ====================
FROM golang:1.24-alpine AS agent-builder
ARG VERSION
ARG BUILD_TIME
WORKDIR /agent
ENV GOPROXY=https://goproxy.cn,direct