Skip to content

Commit

Permalink
use-go-proxy (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwagner5 authored Aug 12, 2022
1 parent 6e75d52 commit dcdd989
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion scripts/build-docker-images
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ for os_arch in "${PLATFORMS[@]}"; do
docker build \
--build-arg GOOS=${os} \
--build-arg GOARCH=${arch} \
--build-arg GOPROXY=${GOPROXY} \
-t ${img_tag} \
${REPO_ROOT_PATH}
done
2 changes: 1 addition & 1 deletion test/license-test/run-license-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ LICENSE_TEST_TAG="aeis-license-test"
LICENSE_REPORT_FILE="$BUILD_PATH/license-report"

SUPPORTED_PLATFORMS_LINUX="linux/amd64" make -s -f $SCRIPTPATH/../../Makefile build-binaries
docker buildx build --load --build-arg=GOPROXY=direct -t $LICENSE_TEST_TAG $SCRIPTPATH/
docker buildx build --load -t $LICENSE_TEST_TAG $SCRIPTPATH/
docker run -i -e GITHUB_TOKEN --rm -v $SCRIPTPATH/:/test -v $BUILD_BIN/:/aeis-bin $LICENSE_TEST_TAG golicense /test/license-config.hcl /aeis-bin/$BINARY_NAME | tee $LICENSE_REPORT_FILE
$SCRIPTPATH/check-licenses.sh $LICENSE_REPORT_FILE
2 changes: 1 addition & 1 deletion test/readme-test/run-readme-codeblocks
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function exit_and_fail() {
exit 1
}
trap exit_and_fail INT ERR
docker build --target=builder --build-arg="GOPROXY=direct" -t codeblocks -f $SCRIPTPATH/../../Dockerfile $SCRIPTPATH/../../
docker build --target=builder -t codeblocks -f $SCRIPTPATH/../../Dockerfile $SCRIPTPATH/../../
docker build -t rundoc -f $SCRIPTPATH/rundoc-Dockerfile $SCRIPTPATH/
function rd() {
docker run -i --rm -v $SCRIPTPATH/../../:/aeis rundoc rundoc "$@"
Expand Down

0 comments on commit dcdd989

Please sign in to comment.