Browse Source

更新 '.drone.yml'

yoko 1 year ago
parent
commit
2854d7bf63
1 changed files with 10 additions and 7 deletions
  1. 10 7
      .drone.yml

+ 10 - 7
.drone.yml

@@ -27,18 +27,21 @@ steps:
       - name: cache
         path: /cache
 
-  - name: docker-build
-    image: plugins/docker:linux-amd64
+  - name: docker-zk-station-server
+    image: plugins/docker:20.14.0-linux-amd64
+    pull: false
     settings:
-      mirror: https://dwfcyrfg.mirror.aliyuncs.com
+      purge: false
+      add_host:
+        - nas.fast-fun.cn:192.168.0.40
       tags:
         - latest
         - 1.0.${DRONE_BUILD_NUMBER}
-#      registry: nas.fast-fun.cn:5000
-      registry: 192.168.10.122:5000
+      registry: nas.fast-fun.cn:5000
+#      registry: 192.168.10.122:5000
       insecure: true
-      repo: 192.168.10.122:5000/zk/station-server
-#      repo: nas.fast-fun.cn:5000/zk/station-server
+#      repo: 192.168.10.122:5000/zk/station-server
+      repo: nas.fast-fun.cn:5000/zk/station-server
 
 volumes:
   - name: cache