Browse Source

添加drone

double.huang 5 năm trước cách đây
mục cha
commit
0bc25738ce
1 tập tin đã thay đổi với 16 bổ sung0 xóa
  1. 16 0
      .drone.yml

+ 16 - 0
.drone.yml

@@ -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