Skip to content

Commit ca838b5

Browse files
ci: debug
1 parent 3db2192 commit ca838b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

trivy-image-scan/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ runs:
5959
TRIVY_OUTPUT=""
6060
if [ "${{ inputs.output-mode }}" = "github" ]; then
6161
TRIVY_FORMAT="sarif"
62-
TRIVY_OUTPUT="''trivy-results.sarif''"
62+
TRIVY_OUTPUT="'trivy-results.sarif'"
6363
elif [ "${{ inputs.output-mode }}" = "json" ]; then
6464
TRIVY_FORMAT="json"
6565
TRIVY_OUTPUT="trivy-results.json"
@@ -118,6 +118,10 @@ runs:
118118
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
119119
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db
120120

121+
- name: ls
122+
shell: bash
123+
run: |
124+
ls -al
121125
- name: Upload Trivy scan results to GitHub Security tab
122126
uses: github/codeql-action/upload-sarif@v3
123127
if: (success() || failure()) && inputs.output-mode == 'github' && steps.output.outputs.TRIVY_OUTPUT != '' && inputs.category == ''

0 commit comments

Comments
 (0)