bosun.org@v0.0.0-20210513094433-e25bc3e69a1f/build/dockerRelease.sh (about) 1 #!/bin/sh 2 # Must be run from $GOPATH/src/bosun.org, not the build directory. 3 set -e 4 5 rm -rf buildoutput 6 mkdir buildoutput 7 8 docker run --rm \ 9 -v "$PWD":/src/bosun.org \ 10 -v "$PWD"/buildoutput:/output \ 11 -w /src/bosun.org \ 12 -e OUTPUTDIR=/output/ \ 13 -e GITHUB_ACCESS_TOKEN=$GITHUB_ACCESS_TOKEN \ 14 golang:1.13 /src/bosun.org/build/release.sh /src/bosun.org