Scan latest container #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |