Browse Source

project: add cicd 5

Yi 1 year ago
parent
commit
7ba6216d70
2 changed files with 3 additions and 1 deletions
  1. 2 0
      .drone.yml
  2. 1 1
      Dockerfile

+ 2 - 0
.drone.yml

@@ -11,6 +11,8 @@ steps:
     image: alpine/git
     commands:
       - git clone -b develop http://kpt.kptyun.cn:3000/xuyiping/kpt-tmr-group.git
+      - ls -l
+      - pwd
   - name: build
     image: plugins/docker
     volumes:

+ 1 - 1
Dockerfile

@@ -6,7 +6,7 @@ owner="yiping.xu"
 
 WORKDIR /bin
 
-RUN ls -l && \
+RUN ls -l /drone/src && \
     pwd
 
 RUN rm -rf /drone/src/kpt-tmr-group/bin && \