Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| eeb939f8a9 |
@@ -2,5 +2,4 @@ FROM ghcr.io/aquasecurity/trivy:0.29.1
|
|||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
RUN apk --no-cache add bash curl
|
RUN apk --no-cache add bash curl
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ADD $GITHUB_WORKSPACE /github_workspace
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|||||||
@@ -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)
|
curl -u "${githubPAT}" -H 'Content-Type: application/json' 'https://api.github.com/repos/'$GITHUB_REPOSITORY'/dependency-graph/snapshots' -d @./$(echo $output | xargs)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "returnCode: " $returnCode
|
||||||
exit $returnCode
|
exit $returnCode
|
||||||
|
|||||||
Reference in New Issue
Block a user