Skip to content

Commit

Permalink
Temporary disable Trivy due to upstream issue (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
baksetercx authored Sep 19, 2024
1 parent 9ac7974 commit 6a12c8a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ runs:
- name: Install 3lv CLI
uses: 3lvia/cli/setup@trunk
with:
version: '0.9.2' # TODO: remove this (which will get latest version) when 3lv CLI is stable
version: '0.11.2' # TODO: remove this (which will get latest version) when 3lv CLI is stable

- name: Handle deprecated inputs
shell: bash
Expand Down Expand Up @@ -229,7 +229,11 @@ runs:
3LV_INCLUDE_FILES: ${{ inputs.docker-include-files }}
3LV_INCLUDE_DIRS: ${{ inputs.docker-include-dirs }}
3LV_SEVERITY: ${{ inputs.severity }}
3LV_SCAN_DISABLE_ERROR: ${{ inputs.trivy-disable-error }}
# 3LV_SCAN_DISABLE_ERROR: ${{ inputs.trivy-disable-error }}
#
# https://github.com/aquasecurity/trivy-action/issues/389
# TODO: reenable when the issue is fixed
3LV_SCAN_DISABLE_ERROR: 'true'

- name: Add comment for Trivy scan results to PR
if: ${{ github.event_name == 'pull_request' && inputs.trivy-post-comment && failure() }}
Expand Down

0 comments on commit 6a12c8a

Please sign in to comment.