-
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.
ci: attempt to fix updates for trivy-action not recognized
- Loading branch information
Showing
2 changed files
with
15 additions
and
6 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
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 |
---|---|---|
|
@@ -52,7 +52,7 @@ runs: | |
|
||
# https://github.com/aquasecurity/trivy-action | ||
- name: Scan Docker image for critical vulnerabilities | ||
uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # 0.12.0 | ||
uses: aquasecurity/[email protected] | ||
if: "${{ inputs.junit-test-output != '' || inputs.create-test-report }}" | ||
with: | ||
image-ref: '${{ inputs.image-ref }}' | ||
|
@@ -77,7 +77,7 @@ runs: | |
echo "REPORT_FILENAME=$VALID_FILENAME" >> $GITHUB_ENV | ||
- name: Create vulnerability report as HTML | ||
uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # 0.12.0 | ||
uses: aquasecurity/[email protected] | ||
with: | ||
image-ref: '${{ inputs.image-ref }}' | ||
scan-type: "${{ inputs.image-ref != '' && 'image' || 'fs' }}" | ||
|
@@ -97,7 +97,7 @@ runs: | |
run: | | ||
cp ${GITHUB_ACTION_PATH}/summary.tpl ./trivy-summary.tpl | ||
- name: Create summary on vulnerabilities | ||
uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # 0.12.0 | ||
uses: aquasecurity/[email protected] | ||
with: | ||
image-ref: '${{ inputs.image-ref }}' | ||
scan-type: "${{ inputs.image-ref != '' && 'image' || 'fs' }}" | ||
|