double.huang 5 years ago
parent
commit
d6d5f95cb8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .drone.yml

+ 2 - 0
.drone.yml

@@ -5,6 +5,8 @@ clone:
 build:
   image: docker.i2edu.net/golang:1.13
   commands:
+    - export GOPROXY=https://goproxy.io
+    - export GO111MODULE=on
     - CGO_ENABLED=0 go build -a -ldflags '-s'
     - tar zcf oauth.tar.gz static app.properties sql doc oauth
 publish: