Add multiarch builds
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
028133d29c
commit
d3189dece2
|
@ -40,10 +40,12 @@ git push --tags
|
|||
echo "Building coredns..."
|
||||
|
||||
export CGO_ENABLED=0
|
||||
export GOOS=linux
|
||||
export GOARCH=amd64
|
||||
|
||||
go build
|
||||
GOOS=linux GOARCH=amd64 go build -o coredns_${GOOS}_${GOARCH}
|
||||
GOOS=linux GOARCH=arm64 go build -o coredns_${GOOS}_${GOARCH}
|
||||
GOOS=linux GOARCH=armv6 go build -o coredns_${GOOS}_${GOARCH}
|
||||
GOOS=linux GOARCH=armv7 go build -o coredns_${GOOS}_${GOARCH}
|
||||
GOOS=mac GOARCH=amd64 go build -o coredns_${GOOS}_${GOARCH}
|
||||
GOOS=windows GOARCH=amd64 go build -o coredns_${GOOS}_${GOARCH}
|
||||
|
||||
echo "Uploading release..."
|
||||
|
||||
|
|
Loading…
Reference in New Issue