forked from docker-library/golang
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.drone.yml
163 lines (153 loc) · 4.17 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
matrix:
VERSION:
- "1.4.2"
- "1.4.3"
- "1.5.3"
- "1.6"
FLAVOR:
- "jessie"
- "alpine"
publish:
hub_1.4.2:
image: armhfplugins/drone-docker:docker-caching
file: Dockerfile_$$FLAVOR
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfbuild/golang
force_tag: true
storage_driver: overlay
build_args:
- GOLANG_VERSION=1.4.2
- GOLANG_SRC_SHA256=299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
tag: ["1.4.2"]
when:
matrix:
VERSION: "1.4.2"
FLAVOR: "jessie"
hub_1.4.2-alpine:
image: armhfplugins/drone-docker:docker-caching
file: Dockerfile_$$FLAVOR
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfbuild/golang
force_tag: true
storage_driver: overlay
build_args:
- GOLANG_VERSION=1.4.2
- GOLANG_SRC_SHA256=299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
tag: ["1.4.2-alpine"]
when:
matrix:
VERSION: "1.4.2"
FLAVOR: "alpine"
hub_1.4.3:
image: armhfplugins/drone-docker:docker-caching
file: Dockerfile_$$FLAVOR
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfbuild/golang
force_tag: true
storage_driver: overlay
build_args:
- GOLANG_VERSION=1.4.3
- GOLANG_SRC_SHA256=9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959
tag: ["1.4.3", "1.4"]
when:
matrix:
VERSION: "1.4.3"
FLAVOR: "jessie"
hub_1.4.3-alpine:
image: armhfplugins/drone-docker:docker-caching
file: Dockerfile_$$FLAVOR
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfbuild/golang
force_tag: true
storage_driver: overlay
build_args:
- GOLANG_VERSION=1.4.3
- GOLANG_SRC_SHA256=9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959
tag: ["1.4.3-alpine", "1.4-alpine"]
when:
matrix:
VERSION: "1.4.3"
FLAVOR: "alpine"
hub_1.5.3:
image: armhfplugins/drone-docker:docker-caching
file: Dockerfile_$$FLAVOR
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfbuild/golang
force_tag: true
storage_driver: overlay
build_args:
- GOLANG_VERSION=1.5.3
- GOLANG_SRC_SHA256=754e06dab1c31ab168fc9db9e32596734015ea9e24bc44cae7f237f417ce4efe
tag: ["1.5.3", "1.5"]
when:
matrix:
VERSION: "1.5.3"
FLAVOR: "jessie"
hub_1.5.3-alpine:
image: armhfplugins/drone-docker:docker-caching
file: Dockerfile_$$FLAVOR
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfbuild/golang
force_tag: true
storage_driver: overlay
build_args:
- GOLANG_VERSION=1.5.3
- GOLANG_SRC_SHA256=754e06dab1c31ab168fc9db9e32596734015ea9e24bc44cae7f237f417ce4efe
tag: ["1.5.3-alpine", "1.5-alpine"]
when:
matrix:
VERSION: "1.5.3"
FLAVOR: "alpine"
hub_1.6:
image: armhfplugins/drone-docker:docker-caching
file: Dockerfile_$$FLAVOR
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfbuild/golang
force_tag: true
storage_driver: overlay
build_args:
- GOLANG_VERSION=1.6
- GOLANG_SRC_SHA256=a96cce8ce43a9bf9b2a4c7d470bc7ee0cb00410da815980681c8353218dcf146
tag: ["1.6.0", "1.6", "1", "latest"]
when:
matrix:
VERSION: "1.6"
FLAVOR: "jessie"
hub_1.6-alpine:
image: armhfplugins/drone-docker:docker-caching
file: Dockerfile_$$FLAVOR
username: $$DOCKER_USER
email: $$DOCKER_EMAIL
password: $$DOCKER_PASSWORD
repo: armhfbuild/golang
force_tag: true
storage_driver: overlay
build_args:
- GOLANG_VERSION=1.6
- GOLANG_SRC_SHA256=a96cce8ce43a9bf9b2a4c7d470bc7ee0cb00410da815980681c8353218dcf146
tag: ["1.6.0-alpine", "1.6-alpine", "1-alpine", "alpine"]
when:
matrix:
VERSION: "1.6"
FLAVOR: "alpine"
cache:
mount:
- /drone/docker
notify:
slack:
webhook_url: $$SLACK_WEBHOOK_URL
channel: armhf