Only set -i flag of go build when compiling locally
Only set -i flag of go build when compiling locally

This fixes permissions problem when building linux target on CD.

zalando-incubator/postgres-operator,zalando-incubator/postgres-operator