Skip to content

Commit

Permalink
skip: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
DnPlas committed Sep 25, 2024
1 parent c7ed2e6 commit e5d99fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/get-images-scan-and-upload-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Tar all reports
run: |
DATE=$(date '+%Y-%m-%d-%H-%M-%S')
RELEASE_TRACK=$(echo ${{ inputs.bundle }} | sed 's/\//-/g')
RELEASE_TRACK=$(echo ${{ inputs.bundle-path }} | sed 's/\//-/g')
tar zcvf trivy-reports-${DATE}-${RELEASE_TRACK}.tar.gz /tmp/trivy-reports
- name: Upload Trivy reports
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scan-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
strategy:
matrix:
# specfy location of bundle(s) to be scanned
bundle:
bundle-path:
- 1.8/stable/kubeflow
- 1.9/stable
- latest/edge
uses: .github/workflows/get-images-scan-and-upload-report.yaml
uses: ./.github/workflows/get-images-scan-and-upload-report.yaml
with:
bundle: ${{ matrix.bundle }}
bundle: ${{ matrix.bundle-path }}

0 comments on commit e5d99fc

Please sign in to comment.