From 4f618340a9e79555121c85245a107db091504eea Mon Sep 17 00:00:00 2001 From: iQQBot Date: Tue, 1 Apr 2025 22:36:22 +0800 Subject: [PATCH] Fix trivy scan on main --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ab9e9d48df5db..318a2b689eede6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -329,8 +329,9 @@ jobs: leeway_segment_key: ${{ secrets.LEEWAY_SEGMENT_KEY }} - name: Scan Images for Vulnerabilities shell: bash + env: + INSTALLER_IMAGE_BASE_REPO: ${{needs.configuration.outputs.image_repo_base}} run: | - INSTALLER_IMAGE_BASE_REPO=${{ needs.configuration.outputs.image_repo_base }} ./scripts/trivy/trivy-scan-images.sh ${{ needs.configuration.outputs.version }} CRITICAL exit $?