-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove trivy scans due to aquasecurity/trivy-action#408
- Loading branch information
Showing
2 changed files
with
0 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,6 @@ permissions: | |
pull-requests: write | ||
# used to publish the docker image | ||
packages: write | ||
# used by trivy | ||
security-events: write | ||
|
||
jobs: | ||
verify: | ||
|
@@ -88,19 +86,3 @@ jobs: | |
@semantic-release/exec | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Get Image Name | ||
id: get-image-name | ||
run: echo "image-name=$(mvn help:evaluate -Dexpression=image.name -q -DforceStdout)" >> $GITHUB_OUTPUT | ||
|
||
- name: Scan Docker Image for Vulnerabilities | ||
uses: aquasecurity/[email protected] | ||
with: | ||
image-ref: ${{ steps.get-image-name.outputs.image-name }} | ||
format: sarif | ||
output: trivy-results.sarif | ||
|
||
- name: Upload Trivy Results to GitHub Security Tab | ||
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: trivy-results.sarif |
This file was deleted.
Oops, something went wrong.