wangkang 3 months ago
parent
commit
afb1912970
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .drone.yml

+ 1 - 1
.drone.yml

@@ -7,7 +7,7 @@ pipeline:
       - export GOPATH=/go
       - export CGO_ENABLED=0
       - export GOPROXY=https://goproxy.io
-      - go build -v
+      - go build -v -mod=vendor
   docker_latest:
     image: docker.finogeeks.club/drone/docker
     #生成的镜像