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 @@ -8,6 +8,7 @@ platform:
88
99steps :
1010- name : vet
11+ pull : always
1112 image : golang:1.13
1213 commands :
1314 - go vet ./...
1819 path : /go
1920
2021- name : test
22+ pull : always
2123 image : golang:1.13
2224 commands :
2325 - go test -cover ./...
@@ -49,6 +51,7 @@ platform:
4951
5052steps :
5153- name : build-push
54+ pull : always
5255 image : golang:1.13
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"
6164 - tag
6265
6366- name : build-tag
67+ pull : always
6468 image : golang:1.13
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"
7276 - tag
7377
7478- name : executable
79+ pull : always
7580 image : golang:1.13
7681 commands :
7782 - ./release/linux/amd64/drone-docker --help
You can’t perform that action at this time.
0 commit comments