Skip to content

Commit 9a26c45

Browse files
TP HoneywULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf
authored andcommitted
Merge pull request drone-plugins#338 from tphoney/bump-go-1.13
(maint) bump git to 1.13 for build and test
1 parent 16a7f64 commit 9a26c45

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.drone.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ platform:
99
steps:
1010
- name: vet
1111
pull: always
12-
image: golang:1.11
12+
image: golang:1.13
1313
commands:
1414
- go vet ./...
1515
environment:
@@ -20,7 +20,7 @@ steps:
2020

2121
- name: test
2222
pull: always
23-
image: golang:1.11
23+
image: golang:1.13
2424
commands:
2525
- go test -cover ./...
2626
environment:
@@ -52,7 +52,7 @@ platform:
5252
steps:
5353
- name: build-push
5454
pull: always
55-
image: golang:1.11
55+
image: golang:1.13
5656
commands:
5757
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
5858
environment:
@@ -65,7 +65,7 @@ steps:
6565

6666
- name: build-tag
6767
pull: always
68-
image: golang:1.11
68+
image: golang:1.13
6969
commands:
7070
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
7171
environment:
@@ -77,7 +77,7 @@ steps:
7777

7878
- name: executable
7979
pull: always
80-
image: golang:1.11
80+
image: golang:1.13
8181
commands:
8282
- ./release/linux/amd64/drone-docker --help
8383

pipeline.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local test_pipeline_name = 'testing';
55
local windows(os) = os == 'windows';
66

77
local golang_image(os, version) =
8-
'golang:' + '1.11' + if windows(os) then '-windowsservercore-' + version else '';
8+
'golang:' + '1.13' + if windows(os) then '-windowsservercore-' + version else '';
99

1010
{
1111
test(os='linux', arch='amd64', version='')::

0 commit comments

Comments
 (0)