chore: send scan report to GitHub UI
This commit is contained in:
parent
e9a3b95fd0
commit
dd7848a892
1 changed files with 7 additions and 0 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -78,6 +78,13 @@ jobs:
|
|||
|
||||
- name: Scan image
|
||||
uses: anchore/scan-action@v3.2.0
|
||||
id: scan
|
||||
with:
|
||||
image: "hipages/php-fpm_exporter:latest"
|
||||
fail-build: true
|
||||
acs-report-enable: true
|
||||
|
||||
- name: Upload Anchore scan SARIF report
|
||||
uses: github/codeql-action/upload-sarif@v1
|
||||
with:
|
||||
sarif_file: ${{ steps.scan.outputs.sarif }}
|
||||
|
|
Loading…
Reference in a new issue