build and upload the right binary
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
62acb7504c
commit
eb69bb3a8a
|
@ -15,7 +15,10 @@ steps:
|
|||
commands:
|
||||
- apk add git
|
||||
- go get github.com/ofesseler/gluster_exporter
|
||||
- ls $GOPATH/bin/gluster_exporter
|
||||
- cd $GOPATH/src/github.com/ofesseler/gluster_exporter
|
||||
- ls
|
||||
- go build
|
||||
- ls
|
||||
|
||||
- name: upload-release
|
||||
image: plugins/s3
|
||||
|
@ -24,7 +27,7 @@ steps:
|
|||
path: /go
|
||||
settings:
|
||||
bucket: georg-drone
|
||||
source: /go/bin/gluster_exporter
|
||||
source: /go/src/github.com/ofesseler/gluster_exporter/gluster_exporter
|
||||
target: /keep/${DRONE_REPO}
|
||||
path_style: true
|
||||
strip_prefix: output/
|
||||
|
|
Loading…
Reference in New Issue