github.com/interconnectedcloud/qdr-operator@v0.0.0-20210826174505-576d2b33dac7/hack/go-build.sh (about) 1 #!/usr/bin/env bash 2 REGISTRY=quay.io/interconnectedcloud 3 IMAGE=qdr-operator 4 TAG=1.3.0-beta1 5 6 if [[ -z ${CI} ]]; then 7 ./hack/go-test.sh 8 operator-sdk build ${REGISTRY}/${IMAGE}:${TAG} 9 else 10 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -a -o build/_output/bin/qdr-operator github.com/interconnectedcloud/qdr-operator/cmd/manager 11 fi