Skip to content

CLOUD-727: Bump aquasecurity/trivy-action from 0.12.0 to 0.13.1 #1555

CLOUD-727: Bump aquasecurity/trivy-action from 0.12.0 to 0.13.1

CLOUD-727: Bump aquasecurity/trivy-action from 0.12.0 to 0.13.1 #1555

Workflow file for this run

name: Scan docker
on: [pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4.1.0
- name: Build an image from Dockerfile
run: |
export IMAGE=perconalab/percona-server-mongodb-operator:${{ github.sha }}
export DOCKER_PUSH=0
export DOCKER_SQUASH=0
./e2e-tests/build
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.13.1
with:
image-ref: 'docker.io/perconalab/percona-server-mongodb-operator:${{ github.sha }}'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'