Merge pull request #338 from tphoney/bump-go-1.13

(maint) bump git to 1.13 for build and test
This commit is contained in:
TP Honey 2021-10-13 17:19:30 +01:00 committed by surtur
parent 9a6316853d
commit 63e2ea8ab3
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -9,6 +9,7 @@ platform:
steps:
- name: vet
image: golang:1.17.3
pull: always
commands:
- go vet ./...
environment:
@ -19,6 +20,7 @@ steps:
- name: test
image: golang:1.17.3
pull: always
commands:
- go test -cover ./...
environment:
@ -50,6 +52,7 @@ platform:
steps:
- name: build-push
image: golang:1.17.3
pull: always
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
environment:
@ -62,6 +65,7 @@ steps:
- name: build-tag
image: golang:1.17.3
pull: always
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
environment:
@ -73,6 +77,7 @@ steps:
- name: executable
image: golang:1.17.3
pull: always
commands:
- ./release/linux/amd64/drone-docker --help