Skip to content

Commit a505d07

Browse files
committed
Update windows build
1 parent 211e64e commit a505d07

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.drone.windows.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ platform:
1010
steps:
1111
- name: vet
1212
pull: always
13-
image: golang:1.11-windowsservercore-1803
13+
image: golang:1.12-windowsservercore-1803
1414
commands:
1515
- go vet ./...
1616
environment:
@@ -21,7 +21,7 @@ steps:
2121

2222
- name: test
2323
pull: always
24-
image: golang:1.11-windowsservercore-1803
24+
image: golang:1.12-windowsservercore-1803
2525
commands:
2626
- go test -cover ./...
2727
environment:
@@ -52,7 +52,7 @@ platform:
5252
steps:
5353
- name: build-push
5454
pull: always
55-
image: golang:1.11-windowsservercore-1803
55+
image: golang:1.12-windowsservercore-1803
5656
commands:
5757
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/windows/amd64/drone-webhook.exe"
5858
environment:
@@ -65,7 +65,7 @@ steps:
6565

6666
- name: build-tag
6767
pull: always
68-
image: golang:1.11-windowsservercore-1803
68+
image: golang:1.12-windowsservercore-1803
6969
commands:
7070
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/windows/amd64/drone-webhook.exe"
7171
environment:
@@ -77,13 +77,13 @@ steps:
7777

7878
- name: executable
7979
pull: always
80-
image: golang:1.11-windowsservercore-1803
80+
image: golang:1.12-windowsservercore-1803
8181
commands:
8282
- ./release/windows/amd64/drone-webhook.exe --help
8383

8484
- name: dryrun
8585
pull: always
86-
image: plugins/docker:windows-1803
86+
image: plugins/docker
8787
settings:
8888
daemon_off: true
8989
dockerfile: docker/Dockerfile.windows.1803
@@ -103,7 +103,7 @@ steps:
103103

104104
- name: publish
105105
pull: always
106-
image: plugins/docker:windows-1803
106+
image: plugins/docker
107107
settings:
108108
auto_tag: true
109109
auto_tag_suffix: windows-1803
@@ -148,7 +148,7 @@ platform:
148148
steps:
149149
- name: build-push
150150
pull: always
151-
image: golang:1.11-windowsservercore-1809
151+
image: golang:1.12-windowsservercore-1809
152152
commands:
153153
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/windows/amd64/drone-webhook.exe"
154154
environment:
@@ -161,7 +161,7 @@ steps:
161161

162162
- name: build-tag
163163
pull: always
164-
image: golang:1.11-windowsservercore-1809
164+
image: golang:1.12-windowsservercore-1809
165165
commands:
166166
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/windows/amd64/drone-webhook.exe"
167167
environment:
@@ -173,13 +173,13 @@ steps:
173173

174174
- name: executable
175175
pull: always
176-
image: golang:1.11-windowsservercore-1809
176+
image: golang:1.12-windowsservercore-1809
177177
commands:
178178
- ./release/windows/amd64/drone-webhook.exe --help
179179

180180
- name: dryrun
181181
pull: always
182-
image: plugins/docker:windows-1809
182+
image: plugins/docker
183183
settings:
184184
daemon_off: true
185185
dockerfile: docker/Dockerfile.windows.1809
@@ -199,7 +199,7 @@ steps:
199199

200200
- name: publish
201201
pull: always
202-
image: plugins/docker:windows-1809
202+
image: plugins/docker
203203
settings:
204204
auto_tag: true
205205
auto_tag_suffix: windows-1809

0 commit comments

Comments
 (0)