diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..080fb2e --- /dev/null +++ b/.drone.yml @@ -0,0 +1,35 @@ +--- +kind: pipeline +name: default +type: docker + +platform: + os: linux + arch: amd64 + +clone: + image: reg.int.it2000.com.cn/devops/git + tags: true + skip_verify: true + +steps: + - name: build + image: reg.int.it2000.com.cn/cdia/angular-cli:6.2 + volumes: + - name: app + path: /home/app + commands: + - yarn build + + + +volumes: + - name: app + host: + path: /opt/app + - name: certs + host: + path: /etc/ssl/certs + - name: docker + host: + path: /var/run/docker.sock