Skip to content

Commit c5590c2

Browse files
committed
Upload sarif report
1 parent 6e5f8df commit c5590c2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,15 @@ jobs:
2121
run: ./tests.sh
2222

2323
- name: Scan the image
24+
id: scan
2425
uses: anchore/scan-action@v2
2526
with:
2627
image: "mendhak/http-https-echo:latest"
2728
debug: false
2829
acs-report-enable: true
30+
- name: upload Anchore scan SARIF report
31+
uses: github/codeql-action/upload-sarif@v1
32+
with:
33+
sarif_file: ${{ steps.scan.outputs.sarif }}
2934

3035

0 commit comments

Comments
 (0)