Skip to content

Commit d79ead5

Browse files
disable trivy scan
1 parent eed9188 commit d79ead5

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -330,30 +330,30 @@ jobs:
330330
GITHUB_EMAIL: [email protected]
331331
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

Comments
 (0)