mirror of
https://github.com/aquasecurity/trivy-action.git
synced 2026-05-14 19:22:40 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 74194a9efa |
@@ -2,4 +2,5 @@ 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"]
|
||||
|
||||
@@ -175,5 +175,4 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user