build and upload the right binary
continuous-integration/drone/push Build is passing Details

main
Georg Krause 2021-01-18 11:52:44 +01:00
parent 62acb7504c
commit eb69bb3a8a
No known key found for this signature in database
GPG Key ID: FD479B9A4D48E632
1 changed files with 5 additions and 2 deletions

View File

@ -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/