Skip to content

Commit c4110c7

Browse files
committed
remove GOPROXY=direct
1 parent 425490a commit c4110c7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

scripts/run-unit-tests-in-docker

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ if ! [[ -n $(docker container ls -a | grep "$container_name") ]]; then
5454
docker container create \
5555
--name "$container_name" \
5656
--volume "$project_root_dir:$work_dir" \
57-
--env GOPROXY=direct \
5857
--env GO111MODULE=auto \
5958
--workdir "$work_dir" \
6059
--init \

test/license-test/run-license-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ LICENSE_TEST_TAG="nth-license-test"
1010
LICENSE_REPORT_FILE="$BUILD_PATH/license-report"
1111

1212
SUPPORTED_PLATFORMS_LINUX="linux/amd64" make -s -f $SCRIPTPATH/../../Makefile build-binaries
13-
docker buildx build --load --build-arg=GOPROXY=direct -t $LICENSE_TEST_TAG $SCRIPTPATH/
13+
docker buildx build --load -t $LICENSE_TEST_TAG $SCRIPTPATH/
1414
docker run -i -e GITHUB_TOKEN --rm -v $SCRIPTPATH/:/test -v $BUILD_BIN/:/nth-bin $LICENSE_TEST_TAG golicense /test/license-config.hcl /nth-bin/$BINARY_NAME | tee $LICENSE_REPORT_FILE
1515
$SCRIPTPATH/check-licenses.sh $LICENSE_REPORT_FILE

0 commit comments

Comments
 (0)