Skip to content

Commit d5263b4

Browse files
committed
Use non-Docker go binary for builds
1 parent 094c963 commit d5263b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hooks/environment

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ build_dir="$(dirname "$d")"
2727

2828
echo "~~~ :electric_plug: Building plugin hooks"
2929
echo "Building for ${HOST_GOOS} on ${HOST_GOARCH}"
30-
docker run --rm -v "${build_dir}":/plugin -w /plugin -e GOOS=${HOST_GOOS} -e GOARCH=${HOST_GOARCH} golang:latest go build -o hooks/pre-exit
30+
cd "${build_dir}" && go build -o hooks/pre-exit

0 commit comments

Comments
 (0)