Explorar o código

更新 '.drone.yml'

yoko hai 1 ano
pai
achega
2854d7bf63
Modificáronse 1 ficheiros con 10 adicións e 7 borrados
  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