ci: 🎡 gf本地安装

This commit is contained in:
GoCo 2025-07-26 11:02:37 +08:00
parent c4f1b2818b
commit 10eedf0ada
2 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@ RUN go env -w GOPROXY=https://goproxy.cn,direct
RUN go mod download RUN go mod download
# 安装gf # 安装gf
RUN wget -O gf "https://github.com/gogf/gf/releases/latest/download/gf_$(go env GOOS)_$(go env GOARCH)" && chmod +x gf && ./gf install -y && rm ./gf # 将deploy里的gf文件复制到当前目录
COPY ./deploy/gf ./gf
RUN chmod +x gf && ./gf install -y && rm ./gf
RUN gf build RUN gf build

BIN
deploy/gf_linux_amd64 Normal file

Binary file not shown.