chore: send scan report to GitHub UI

This commit is contained in:
Enrico Stahn 2022-02-16 22:04:28 +01:00
parent e9a3b95fd0
commit dd7848a892
No known key found for this signature in database
GPG key ID: 5263621C269A50DE

View file

@ -78,6 +78,13 @@ jobs:
- name: Scan image - name: Scan image
uses: anchore/scan-action@v3.2.0 uses: anchore/scan-action@v3.2.0
id: scan
with: with:
image: "hipages/php-fpm_exporter:latest" image: "hipages/php-fpm_exporter:latest"
fail-build: true 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 }}