Try node 20 on amazon linux docker #162
Workflow file for this run
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: CVE Scanning for Docker | |
on: | |
push: | |
paths: | |
- 'docker/**/Dockerfile' | |
- '.github/workflows/cve-scanning.yml' | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
folder-name: ["aws-linux", "el7", "el8", "ubuntu-focal-deb", "ubuntu-focal" ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: docker/setup-buildx-action@v3 | |
- name: Build | |
run: docker build -f Dockerfile -t user/${{ matrix.folder-name }}:latest . | |
working-directory: docker/${{ matrix.folder-name }} | |
- name: Scan for vulnerabilities | |
uses: crazy-max/ghaction-container-scan@v2 | |
with: | |
image: user/${{ matrix.folder-name }}:latest | |
env: | |
TRIVY_TIMEOUT: 20m |