We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daebd24 commit 32731e5Copy full SHA for 32731e5
.github/workflows/build.yml
@@ -45,3 +45,14 @@ jobs:
45
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
46
REPOSITORY: ${{ inputs.ECR_REPOSITORY }}
47
IMAGE_TAG: ${{ github.sha }}
48
+
49
+ - name: Scan for vulnerabilities (informative, non-breaking)
50
+ id: scan
51
+ uses: aquasecurity/trivy-action@master
52
+ with:
53
+ image-ref: ${REGISTRY}/${REPOSITORY}:${IMAGE_TAG}
54
+ format: 'table'
55
+ exit-code: '1'
56
+ ignore-unfixed: true
57
+ vuln-type: 'os,library'
58
+ severity: 'CRITICAL,HIGH'
0 commit comments