diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0db4327..4e8d695 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,11 +31,13 @@ jobs: - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master with: - scan-type: 'rootfs' + scan-type: "rootfs" scan-ref: "${{ github.workspace }}/ballerina/lib" - format: 'table' - timeout: '10m0s' - exit-code: '1' + format: "table" + timeout: "10m0s" + exit-code: "1" + scanners: "vuln" + cache-dir: "/tmp/trivy-cache" - name: Set version env variable run: echo "VERSION=$((grep -w 'version' | cut -d= -f2) < gradle.properties | rev | cut --complement -d- -f1 | rev)" >> $GITHUB_ENV - name: Pre release dependency version update