forked from appleboy/drone-git-push
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
51 lines (48 loc) · 1001 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
build:
image: golang:1.5
environment:
- CGO_ENABLED=0
commands:
- make deps
- make vet
- make build
- make test
publish:
coverage:
when:
branch: master
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-git-push
tag: latest
when:
branch: master
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-git-push
tag: develop
when:
branch: develop
notify:
downstream:
token: $$DOWNSTREAM_TOKEN
repositories:
- drone-plugins/drone-azure-web-apps
- drone-plugins/drone-cloudcontrol
- drone-plugins/drone-deis
- drone-olugins/drone-dotcloud
- drone-plugins/drone-heroku
- drone-plugins/drone-scalingo
when:
branch: master
plugin:
name: Git Push
desc: Deploy or update a project via Git
type: deploy
image: plugins/drone-git-push
labels:
- git