Skip to content

try non-slim base-image #3

try non-slim base-image

try non-slim base-image #3

Workflow file for this run

name: Run Trivy vulnerability scanner
on: [ push ]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build wis2box-api
run: |
docker build -t wis2box-ui:test .
- name: Run Trivy vulnerability scanner on wis2box-ui
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
with:
image-ref: 'wis2box-ui:test'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'