Skip to content

Update scanning.yml #1085

Update scanning.yml

Update scanning.yml #1085

Workflow file for this run

name: Vulnerability scanning
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
scan:
name: Scan for known vulnerabilities
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run Github Trivy FS Action
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
trivy-config: .github/trivy.yaml
env:

Check failure on line 23 in .github/workflows/scanning.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/scanning.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
: # known issue: https://github.com/aquasecurity/trivy-action/issues/389
: # workaround: https://github.com/orgs/community/discussions/139074#discussioncomment-10808081
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db