From 63e2ea8ab3b01129bc3ba3889cdef2c0deba10e2 Mon Sep 17 00:00:00 2001 From: TP Honey Date: Wed, 13 Oct 2021 17:19:30 +0100 Subject: [PATCH] Merge pull request #338 from tphoney/bump-go-1.13 (maint) bump git to 1.13 for build and test --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.yml b/.drone.yml index 1848690d..e3d912eb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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