@@ -330,30 +330,30 @@ jobs:
330330331331 VERSION : ${{ needs.configuration.outputs.version }}
332332
333- trivy-scan :
334- name : " Scan Images for Vulnerabilities"
335- needs :
336- - configuration
337- - build-gitpod
338- - create-runner
339- runs-on : ${{ needs.create-runner.outputs.label }}
340- container :
341- image : eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:clu-leeway-sbom-gha.32312
342- steps :
343- - uses : actions/checkout@v4
344- - name : Setup Environment
345- uses : ./.github/actions/setup-environment
346- with :
347- identity_provider : ${{ github.ref == 'refs/heads/main' && secrets.CORE_DEV_PROVIDER || secrets.DEV_PREVIEW_PROVIDER }}
348- service_account : ${{ github.ref == 'refs/heads/main' && secrets.CORE_DEV_SA || secrets.DEV_PREVIEW_SA }}
349- leeway_segment_key : ${{ secrets.LEEWAY_SEGMENT_KEY }}
350- - name : Scan Images for Vulnerabilities
351- shell : bash
352- env :
353- INSTALLER_IMAGE_BASE_REPO : ${{needs.configuration.outputs.image_repo_base}}
354- run : |
355- ./scripts/trivy/trivy-scan-images.sh ${{ needs.configuration.outputs.version }} CRITICAL
356- exit $?
333+ # trivy-scan:
334+ # name: "Scan Images for Vulnerabilities"
335+ # needs:
336+ # - configuration
337+ # - build-gitpod
338+ # - create-runner
339+ # runs-on: ${{ needs.create-runner.outputs.label }}
340+ # container:
341+ # image: eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:clu-leeway-sbom-gha.32312
342+ # steps:
343+ # - uses: actions/checkout@v4
344+ # - name: Setup Environment
345+ # uses: ./.github/actions/setup-environment
346+ # with:
347+ # identity_provider: ${{ github.ref == 'refs/heads/main' && secrets.CORE_DEV_PROVIDER || secrets.DEV_PREVIEW_PROVIDER }}
348+ # service_account: ${{ github.ref == 'refs/heads/main' && secrets.CORE_DEV_SA || secrets.DEV_PREVIEW_SA }}
349+ # leeway_segment_key: ${{ secrets.LEEWAY_SEGMENT_KEY }}
350+ # - name: Scan Images for Vulnerabilities
351+ # shell: bash
352+ # env:
353+ # INSTALLER_IMAGE_BASE_REPO: ${{needs.configuration.outputs.image_repo_base}}
354+ # run: |
355+ # ./scripts/trivy/trivy-scan-images.sh ${{ needs.configuration.outputs.version }} CRITICAL
356+ # exit $?
357357
358358 install-app :
359359 runs-on : ${{ needs.create-runner.outputs.label }}
0 commit comments