Skip to content

Commit

Permalink
Merge pull request drone-plugins#338 from tphoney/bump-go-1.13
Browse files Browse the repository at this point in the history
(maint) bump git to 1.13 for build and test
  • Loading branch information
TP Honey authored and wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf committed Oct 13, 2021
1 parent 9a63168 commit 63e2ea8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ platform:
steps:
- name: vet
image: golang:1.17.3
pull: always
commands:
- go vet ./...
environment:
Expand All @@ -19,6 +20,7 @@ steps:

- name: test
image: golang:1.17.3
pull: always
commands:
- go test -cover ./...
environment:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -73,6 +77,7 @@ steps:

- name: executable
image: golang:1.17.3
pull: always
commands:
- ./release/linux/amd64/drone-docker --help

Expand Down

0 comments on commit 63e2ea8

Please sign in to comment.