Skip to content

Commit ca7f7ac

Browse files
committed
chore(ci): 移除GO代理服务器
- 注释GO代理服务器以兼容github actions 构建镜像
1 parent 2277c34 commit ca7f7ac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ COPY . /data/app
77
WORKDIR /data/app
88

99
RUN rm -rf /data/app/bin/
10-
RUN export GOPROXY=https://goproxy.cn,direct && go mod tidy && go build -ldflags="-s -w" -o ./bin/server ${APP_RELATIVE_PATH}
10+
#RUN export GOPROXY=https://goproxy.cn,direct && go mod tidy && go build -ldflags="-s -w" -o ./bin/server ${APP_RELATIVE_PATH}
11+
RUN go mod tidy && go build -ldflags="-s -w" -o ./bin/server ${APP_RELATIVE_PATH}
1112
RUN mv config /data/app/bin/
1213

1314

0 commit comments

Comments
 (0)