Yi 1 éve
szülő
commit
b4caa386df
1 módosított fájl, 9 hozzáadás és 10 törlés
  1. 9 10
      .drone.yml

+ 9 - 10
.drone.yml

@@ -2,17 +2,16 @@ kind: pipeline
 type: docker
 name: kptTmrGroup
 
-#clone:
-#  depth: 1
-#  disable: true
+clone:
+  depth: 1
+  disable: true
 
 steps:
-  #- name: clone
-  #  image: alpine/git
-  #  commands:
-  #    - git clone -b develop http://kpt.kptyun.cn:3000/xuyiping/kpt-tmr-group.git
-  #    - ls -l
-  #    - pwd
+  - name: clone
+    image: alpine/git
+    commands:
+      - git clone -b develop http://192.168.1.8:3000/xuyiping/kpt-tmr-group.git
+      - cp -R kpt-tmr-group/* ./
   - name: build
     image: plugins/docker:20.14.2
     volumes:
@@ -23,7 +22,7 @@ steps:
       - name: docker-sock
         path: /var/run/docker.sock
     settings:
-      #dockerfile: /drone/src/kpt-tmr-group/Dockerfile
+      dockerfile: /drone/src/Dockerfile
       username:
         from_secret: aliyuncs_username
       password: