Compare commits

..

1 Commits

Author SHA1 Message Date
Simar
eeb939f8a9 debug 2022-06-28 17:15:06 -07:00
2 changed files with 1 additions and 1 deletions

View File

@@ -2,5 +2,4 @@ FROM ghcr.io/aquasecurity/trivy:0.29.1
COPY entrypoint.sh /
RUN apk --no-cache add bash curl
RUN chmod +x /entrypoint.sh
ADD $GITHUB_WORKSPACE /github_workspace
ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -175,4 +175,5 @@ if [[ "${format}" == "github" ]] && [[ "$(echo $githubPAT | xargs)" != "" ]]; th
curl -u "${githubPAT}" -H 'Content-Type: application/json' 'https://api.github.com/repos/'$GITHUB_REPOSITORY'/dependency-graph/snapshots' -d @./$(echo $output | xargs)
fi
echo "returnCode: " $returnCode
exit $returnCode