Automatic merge from release/2.4.0 -> release/2.5.0

* commit '55697e0aeae04d78c2e9fe978736cbb0e9ec32e8':
  Add drone pipeline config
This commit is contained in:
邱剑
2019-02-22 09:57:42 +08:00
+27
View File
@@ -0,0 +1,27 @@
workspace:
base: /go
path: src/yunion.io/x/onecloud
branches: [ release/*, ci/* ]
clone:
git:
image: plugins/git
tags: true
pipeline:
build:
image: golang:latest
commands:
- make
release-img:
image: plugins/docker
repo: registry.cn-beijing.aliyuncs.com/yunionio/onecloud
registry: registry.cn-beijing.aliyuncs.com
mirror: https://lms7sxqp.mirror.aliyuncs.com
secrets: [ docker_username, docker_password ]
tags:
- "${DRONE_TAG}"
when:
event: tag