Skip to content

MEDIA-2058: log 'ERROR' level messages into stderr as well (when log … #112

MEDIA-2058: log 'ERROR' level messages into stderr as well (when log …

MEDIA-2058: log 'ERROR' level messages into stderr as well (when log … #112

Workflow file for this run

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-practice/[email protected]
- 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