add drone
This commit is contained in:
+35
@@ -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
|
||||||
Reference in New Issue
Block a user