ci: 🎡 gf本地安装
This commit is contained in:
parent
c4f1b2818b
commit
10eedf0ada
@ -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
BIN
deploy/gf_linux_amd64
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user