We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b1568 commit 2569e7fCopy full SHA for 2569e7f
.github/workflows/container-local-test.yml
@@ -91,13 +91,11 @@ jobs:
91
docker image ls -a
92
docker run ${{ env.IMAGE_NAME }} version
93
docker run ${{ env.IMAGE_NAME }} utils fast
94
- docker run -v "$(pwd)":"/scanoss" ${{ env.IMAGE_NAME }} scan -o results.json tests
+ docker run -v "$(pwd)":"/scanoss" ${{ env.IMAGE_NAME }} scan -o results.json tests --key ${{ secrets.SC_API_KEY }}
95
id_count=$(cat results.json | grep '"id":' | wc -l)
96
echo "ID Count: $id_count"
97
if [[ $id_count -lt 1 ]]; then
98
echo "Error: Scan test did not produce any results. Failing"
99
exit 1
100
fi
101
- env:
102
- SCANOSS_API_KEY: ${{ secrets.SC_API_KEY }}
103
0 commit comments