Skip to content

Commit

Permalink
Refactored steps for reusable workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Aug 30, 2024
1 parent 7fc0ba7 commit 9943644
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/vulnerability-scan-schedule-5x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@ on:
workflow_dispatch:
jobs:
vulnerability-scan-schedule:
runs-on: ubuntu-latest
strategy:
matrix:
images: ${{ fromJson(vars.IMAGES) }}
exclude:
- images: mailpit
steps:
- name: Scan for vulnerabilities on 5.x tags
id: scan
uses: dpc-sdp/bay/.github/workflows/vulnerability-scan-schedule.yml@feature/specify-branch-on-scan-5.x
with:
image: ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }}:5.x
annotations: true
dockerfile: ./images/${{ matrix.images }}
name: Scheduled CVE vulnerability scan of 5.x published images.
uses: dpc-sdp/bay/.github/workflows/vulnerability-scan-schedule.yml@feature/specify-branch-on-scan-5.x
secrets: inherit

0 comments on commit 9943644

Please sign in to comment.