File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ platform:
99steps :
1010- name : vet
1111 image : golang:1.17.3
12+ pull : always
1213 commands :
1314 - go vet ./...
1415 environment :
1920
2021- name : test
2122 image : golang:1.17.3
23+ pull : always
2224 commands :
2325 - go test -cover ./...
2426 environment :
@@ -50,6 +52,7 @@ platform:
5052steps :
5153- name : build-push
5254 image : golang:1.17.3
55+ pull : always
5356 commands :
5457 - " go build -v -ldflags \" -X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
5558 environment :
6265
6366- name : build-tag
6467 image : golang:1.17.3
68+ pull : always
6569 commands :
6670 - " go build -v -ldflags \" -X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
6771 environment :
7377
7478- name : executable
7579 image : golang:1.17.3
80+ pull : always
7681 commands :
7782 - ./release/linux/amd64/drone-docker --help
7883
You can’t perform that action at this time.
0 commit comments