diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index b69209b008..8e1134f418 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -32,6 +32,8 @@ jobs: export VERSION=${{ steps.lastrelease.outputs.release }} echo "VERSION=$VERSION" >> $GITHUB_OUTPUT analyze: + env: + VERSION: ${{needs.version.outputs.VERSION}} permissions: packages: write contents: read # for actions/checkout to fetch code