-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
47 lines (42 loc) · 1 KB
/
.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
clone:
path: github.com/drone-plugins
recursive: true
build:
image: armhfbuild/golang:1.5
environment:
- GO15VENDOREXPERIMENT=1
- GOOS=linux
- GOARCH=arm
- CGO_ENABLED=0
commands:
- git clone --single-branch https://github.com/drone-plugins/drone-downstream
- cd drone-downstream
- sed -i 's/FROM alpine/FROM armhfbuild\/alpine/' Dockerfile
- go get
- go build
- go test
publish:
docker:
context: drone-downstream
file: drone-downstream/Dockerfile
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfplugins/drone-downstream
when:
repo: armhf-drone-plugins/drone-downstream
branch: master
notify:
gitter:
webhook: https://webhooks.gitter.im/e/cac16e3f9e62a24bcd78
slack:
webhook_url: $$SLACK_WEBHOOK_URL
channel: armhf
plugin:
name: Trigger
desc: Trigger builds for downstream repositories
type: clone
image: armhfplugins/drone-downstream
labels:
- trigger
- drone