Skip to content

Commit ef0eec0

Browse files
authored
only build one binary to check licenses (#239)
1 parent f92ed02 commit ef0eec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ BUILD_BIN="$SCRIPTPATH/../../build/bin"
77
BINARY_NAME="node-termination-handler-linux-amd64"
88
LICENSE_TEST_TAG="nth-license-test"
99

10-
NTH_OS_ARCH="linux-amd64" make -s -f $SCRIPTPATH/../../Makefile build-binaries
10+
SUPPORTED_PLATFORMS_LINUX="linux/amd64" make -s -f $SCRIPTPATH/../../Makefile build-binaries
1111
docker build --build-arg=GOPROXY=direct -t $LICENSE_TEST_TAG $SCRIPTPATH/
1212
docker run -it -e GITHUB_TOKEN --rm -v $SCRIPTPATH/:/test -v $BUILD_BIN/:/nth-bin $LICENSE_TEST_TAG golicense /test/license-config.hcl /nth-bin/$BINARY_NAME

0 commit comments

Comments
 (0)