Skip to content

Commit

Permalink
Fix release scans
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed Jul 18, 2024
1 parent 8e653f3 commit aebea65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ jobs:
if: ${{ github.event_name == 'push' }}
uses: aquasecurity/[email protected]
with:
image-ref: ${{ steps.meta.outputs.tags }}
image-ref: ${{ env.REPOSITORY }}:${{ steps.meta.outputs.version }}
format: 'sarif'
output: 'trivy-results.sarif'
- name: Run Grype vulnerability scanner on push
if: ${{ github.event_name == 'push' }}
id: grype
uses: anchore/scan-action@v4
with:
image: ${{ steps.meta.outputs.tags }}
image: ${{ env.REPOSITORY }}:${{ steps.meta.outputs.version }}
severity-cutoff: critical
output-format: 'sarif'
fail-build: false
Expand Down

0 comments on commit aebea65

Please sign in to comment.