fix(agent): Dockerfile agent-builder 缺少 ARG VERSION 导致 agent.version 为空
This commit is contained in:
1 parent
bbba67c291
commit
2c170589c6
1 file changed
+3
@@ -46,6 +46,9 @@ RUN --mount=type=cache,target=/go/pkg/mod \
|
|||||||
# ==================== Stage 2: Agent Builder ====================
|
# ==================== Stage 2: Agent Builder ====================
|
||||||
FROM golang:1.24-alpine AS agent-builder
|
FROM golang:1.24-alpine AS agent-builder
|
||||||
|
|
||||||
|
ARG VERSION
|
||||||
|
ARG BUILD_TIME
|
||||||
|
|
||||||
WORKDIR /agent
|
WORKDIR /agent
|
||||||
|
|
||||||
ENV GOPROXY=https://goproxy.cn,direct
|
ENV GOPROXY=https://goproxy.cn,direct
|
||||||
|
|||||||
Reference in new issue
Block a user