Skip to content

Commit

Permalink
Fix arm builds, no parallel binary asset uploads to github (oliver006…
Browse files Browse the repository at this point in the history
…#379)

* add  -parallel 1 to ghr binary upload, will take longer but maybe address validation errors

* GOARCH="arm" for arm builds
  • Loading branch information
oliver006 authored May 3, 2020
1 parent 40e2962 commit cfce3bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-github-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ ls -la
cd ..

echo "Upload to Github"
ghr -u oliver006 -r redis_exporter --replace "${DRONE_TAG}" dist/
ghr -parallel 1 -u oliver006 -r redis_exporter --replace "${DRONE_TAG}" dist/

echo "Done"
2 changes: 1 addition & 1 deletion docker/Dockerfile.arm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /go/src/github.com/oliver006/redis_exporter/

ADD go.mod go.sum main.go exporter.go /go/src/github.com/oliver006/redis_exporter/

ARG GOARCH="amd64"
ARG GOARCH="arm"
ARG SHA1="[no-sha]"
ARG TAG="[no-tag]"

Expand Down

0 comments on commit cfce3bd

Please sign in to comment.