Browse Source

Update '.drone.yml'

kirkleon 4 years ago
parent
commit
75ccb2be61
1 changed files with 3 additions and 4 deletions
  1. 3 4
      .drone.yml

+ 3 - 4
.drone.yml

@@ -1,5 +1,5 @@
 kind: pipeline
-type: docker
+type: default
 
 steps:
 - name: pull
@@ -12,15 +12,14 @@ steps:
   - ./update.sh
   - mv pull/ /data/
   when:
-  branch:
-  - master
+    branch:
+    - master
 - name: publish-server  
   image: plugins/docker
   volumes:
   - name: pull
     path: /data/
   settings:
-    privileged: true
     context: /data/
     username: 
       from_secret: registry_username