Skip to content

Scan latest container #60

Scan latest container

Scan latest container #60

name: Scan latest container
on:
schedule:
- cron: '5 5 * * *'
jobs:
scan:
name: container-scan
runs-on: ubuntu-latest
steps:
- name: Scan image
uses: anchore/scan-action@v2
with:
image: "sourcegraph/server:insiders"
acs-report-enable: true
act-report-severity-cutoff: "Medium"
fail-build: false
- name: Upload SARIF report
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: results.sarif
- name: Upload artifact
uses: actions/[email protected]
with:
name: AnchoreReports
path: ./anchore-reports/