Skip to content

Commit 3950c2d

Browse files
committed
Comment export GO111MODULE in helm pod
1 parent 702b9da commit 3950c2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform-operator/helm-pod/build-artifact.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ artifacttype=$1
88
cd ../../
99

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

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

0 commit comments

Comments
 (0)