From 74f4327ad0ea60fdf606d6e4f6e39f93d1684d60 Mon Sep 17 00:00:00 2001 From: Oksana Grishchenko Date: Thu, 21 Mar 2024 12:56:03 +0200 Subject: [PATCH] test trivy --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f2b28a58..3571a6550 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -166,10 +166,8 @@ jobs: - name: Operator - Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@0.12.0 - env: - FIRST_IMAGE: with: - image-ref: echo "${{ steps.operator_meta.outputs.tags }}" | head -n 1 + image-ref: ${{ env.IMAGE_TO_CHECK }} format: 'table' exit-code: '1' severity: 'CRITICAL,HIGH'