mirror of
https://github.com/harness-community/drone-helm-chart-container-registry.git
synced 2026-06-04 10:15:18 +08:00
18 lines
314 B
Bash
Executable File
18 lines
314 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# force go modules
|
|
export GOPATH=""
|
|
|
|
# disable cgo
|
|
export CGO_ENABLED=0
|
|
|
|
set -e
|
|
set -x
|
|
|
|
# linux
|
|
GOOS=linux GOARCH=amd64 go build -o release/linux/amd64/drone-helm
|
|
GOOS=linux GOARCH=arm64 go build -o release/linux/arm64/drone-helm
|
|
|
|
# windows
|
|
GOOS=windows go build -o release/windows/amd64/drone-helm.exe
|