Skip to content

Commit

Permalink
Added GH annotations. (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen authored Aug 29, 2024
1 parent e22abb2 commit c884d9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/vulnerability-scan-schedule-5x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ env:
on:
schedule:
- cron: '0 22 * * 3'
workflow_dispatch:
jobs:
vulnerability-scan-schedule:
if: github.event_name == 'schedule'
Expand All @@ -23,6 +24,7 @@ jobs:
uses: crazy-max/ghaction-container-scan@v3
with:
image: ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }}:5.x
annotations: true
dockerfile: ./images/${{ matrix.images }}
- name: Upload SARIF file
if: ${{ steps.scan.outputs.sarif != '' }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/vulnerability-scan-schedule-6x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ env:
on:
schedule:
- cron: '0 22 * * 3'
workflow_dispatch:

jobs:
vulnerability-scan-schedule:
if: github.event_name == 'schedule'
Expand All @@ -21,6 +23,7 @@ jobs:
uses: crazy-max/ghaction-container-scan@v3
with:
image: ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }}:6.x
annotations: true
dockerfile: ./images/${{ matrix.images }}
- name: Upload SARIF file
if: ${{ steps.scan.outputs.sarif != '' }}
Expand Down

0 comments on commit c884d9c

Please sign in to comment.