Skip to content

Commit

Permalink
Comment export GO111MODULE in helm pod
Browse files Browse the repository at this point in the history
  • Loading branch information
enyachoke committed Mar 22, 2023
1 parent 702b9da commit 3950c2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform-operator/helm-pod/build-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ artifacttype=$1
cd ../../

if [ "$artifacttype" = "latest" ]; then
export GO111MODULE=on; export GOOS=linux; go build .
# export GO111MODULE=on; export GOOS=linux; go build .
docker build --no-cache -t gcr.io/cloudark-kubeplus/helm-pod:latest -f ./platform-operator/helm-pod/Dockerfile .
fi

if [ "$artifacttype" = "versioned" ]; then
version=`tail -1 versions.txt`
echo "Building version $version"
export GO111MODULE=on; export GOOS=linux; go build .
# export GO111MODULE=on; export GOOS=linux; go build .
docker build -t gcr.io/cloudark-kubeplus/helm-pod:$version ./platform-operator/helm-pod/Dockerfile .
docker push gcr.io/cloudark-kubeplus/helm-pod:$version
fi
Expand Down

0 comments on commit 3950c2d

Please sign in to comment.