mirror of
https://github.com/harness/drone.git
synced 2025-05-04 19:51:52 +08:00
9 lines
243 B
Bash
9 lines
243 B
Bash
#!/bin/sh
|
|
|
|
echo "building docker images for ${GOOS}/${GOARCH} ..."
|
|
|
|
REPO="github.com/drone/drone"
|
|
|
|
# compile the server using the cgo
|
|
go build -ldflags "-extldflags \"-static\"" -o release/linux/${GOARCH}/drone-server ${REPO}/cmd/drone-server
|