-
Notifications
You must be signed in to change notification settings - Fork 1
/
.drone.yml
65 lines (59 loc) · 1.43 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
matrix:
VERSION:
- master
build:
image: armhfbuild/docker:1.9.1-dind
privileged: true
commands:
- cd $$VERSION
- ./build.sh
when:
matrix:
VERSION: master
# version_1.4.3:
# image: armhfbuild/golang:1.5.3
# commands:
# - cd $$VERSION
# - VERSION=$$VERSION ./build.sh
# when:
# matrix:
# VERSION: "1.4.3"
#
publish:
hub_weave:
image: armhfplugins/drone-docker
file: "$$VERSION/weave/prog/weaver/Dockerfile"
context: "$$VERSION/weave/prog/weaver"
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfbuild/weave
tag: "$$VERSION"
force_tag: true
storage_driver: overlay
hub_weaveexec:
image: armhfplugins/drone-docker
file: "$$VERSION/weave/prog/weaveexec/Dockerfile"
context: "$$VERSION/weave/prog/weaveexec"
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfbuild/weaveexec
tag: "$$VERSION"
force_tag: true
storage_driver: overlay
hub_plugin:
image: armhfplugins/drone-docker
file: "$$VERSION/weave/prog/plugin/Dockerfile"
context: "$$VERSION/weave/prog/plugin"
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfbuild/weaveplugin
tag: "$$VERSION"
force_tag: true
storage_driver: overlay
notify:
slack:
webhook_url: $$SLACK_WEBHOOK_URL
channel: armhf