|
|
@@ -0,0 +1,16 @@
|
|
|
+clone:
|
|
|
+ depth: 50
|
|
|
+ recursive: true
|
|
|
+ path: oauth
|
|
|
+build:
|
|
|
+ image: docker.i2edu.net/golang:1.13
|
|
|
+ commands:
|
|
|
+ - CGO_ENABLED=0 go build -a -ldflags '-s'
|
|
|
+ - tar zcf oauth.tar.gz static app.properties sql doc oauth
|
|
|
+publish:
|
|
|
+ docker:
|
|
|
+ registry: docker.qianqiusoft.com
|
|
|
+ email: develop@qianqiusoft.com
|
|
|
+ repo: docker.qianqiusoft.com/oauth
|
|
|
+ tag:
|
|
|
+ - latest
|