Skip to content

Commit

Permalink
fix: ignorefile on trivy scan
Browse files Browse the repository at this point in the history
  • Loading branch information
lfbarrile01 committed Dec 3, 2024
1 parent 1561452 commit 059a873
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
name: "Build"

#Habilitar isso após os testes
# on:
# push:
# tags:
# - '**'

on:
push:
tags:
branches:
- '**'
pull_request:
branches:
- '**'

permissions:
Expand Down Expand Up @@ -55,6 +64,7 @@ jobs:
with:
image-ref: '${{ env.DOCKERHUB_ORG }}/${{ env.APP_NAME }}:${{ steps.extract_tag.outputs.tag }}'
format: 'table'
ignorefile: 'trivy-ignore.yaml'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
Expand Down

0 comments on commit 059a873

Please sign in to comment.