Skip to content

Commit

Permalink
comment out sbom
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed Mar 20, 2024
1 parent 1261060 commit a0ed8b7
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@ jobs:
sarif_file: 'trivy-results.sarif'
matrix: ${{ toJson(matrix) }}

- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
uses: aquasecurity/trivy-action@master
with:
scan-type: 'image'
format: 'github'
output: 'dependency-results.sbom.json'
image-ref: 'ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }}'
github-pat: ${{ secrets.GITHUB_TOKEN }}
# - name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
# uses: aquasecurity/trivy-action@master
# with:
# scan-type: 'image'
# format: 'github'
# output: 'dependency-results.sbom.json'
# image-ref: 'ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }}'
# github-pat: ${{ secrets.GITHUB_TOKEN }}

- name: Upload trivy report as a Github artifact
uses: actions/upload-artifact@v4
with:
name: trivy-sbom-report
path: '${{ github.workspace }}/dependency-results.sbom.json'
retention-days: 20 # 90 is the default
# - name: Upload trivy report as a Github artifact
# uses: actions/upload-artifact@v4
# with:
# name: trivy-sbom-report
# path: '${{ github.workspace }}/dependency-results.sbom.json'
# retention-days: 20 # 90 is the default

tests:
needs:
Expand Down

0 comments on commit a0ed8b7

Please sign in to comment.