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'