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