Skip to content

Commit c4ac21c

Browse files
authored
Disable folder scanning in trivy
1 parent 716db9e commit c4ac21c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-docker-artifacts.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ jobs:
262262
uses: aquasecurity/[email protected]
263263
with:
264264
image-ref: ${{ vars.DV_AWS_ECR_REGISTRY }}/${{ matrix.component.ecr_repository }}:${{ matrix.component.image_tag }}
265+
# Disable scanning the current directory (defaults to .)
266+
scan-ref: '/dev/null'
265267
format: 'table'
266268
exit-code: '1'
267269
ignore-unfixed: false

0 commit comments

Comments
 (0)