@@ -1,24 +1,21 @@
kind: pipeline
type: docker
name: kpt-tmr
-
+#workspace:
+ #path: /drone/src
clone:
depth: 1
disable: true
steps:
- name: clone
image: alpine/git
commands:
- git clone -b develop http://192.168.1.8:3000/baishaojie/tmrgo.git
- - ls -l
- pwd
+ - cp -R tmrgo/* ./
+ - ls -l
- name: build
image: plugins/docker:20.14.2
- commands:
- - cd ./trmgo
- - pwd
volumes:
- name: hosts
path: /etc/hosts