diff --git a/.github/workflows/trivy_scan.yml b/.github/workflows/trivy_scan.yml index 0aa8065bfa0..765b48dbeb0 100644 --- a/.github/workflows/trivy_scan.yml +++ b/.github/workflows/trivy_scan.yml @@ -41,7 +41,7 @@ jobs: docker pull antrea/antrea-controller-ubuntu:latest docker pull antrea/antrea-controller-ubuntu:${{ steps.find-antrea-greatest-version.outputs.antrea_version }} - name: Install Trivy - uses: aquasecurity/setup-trivy@3fb12ec12f41e471780db15c232d5dd185dcb514 # v0.2.6 + uses: aquasecurity/setup-trivy@81e514348e19b6112ce2a7e3ecbafe19c1e1f567 # v0.3.1 - name: Get current UTC date id: date run: echo "date=$(date -u +'%Y-%m-%d')" >> $GITHUB_OUTPUT diff --git a/.github/workflows/trivy_scan_before_release.yml b/.github/workflows/trivy_scan_before_release.yml index f3c85e9bb3f..f6ce54f656d 100644 --- a/.github/workflows/trivy_scan_before_release.yml +++ b/.github/workflows/trivy_scan_before_release.yml @@ -23,7 +23,7 @@ jobs: run: | ./hack/build-antrea-linux-all.sh --pull - name: Install Trivy - uses: aquasecurity/setup-trivy@3fb12ec12f41e471780db15c232d5dd185dcb514 # v0.2.6 + uses: aquasecurity/setup-trivy@81e514348e19b6112ce2a7e3ecbafe19c1e1f567 # v0.3.1 - name: Download Trivy DB # Always download the latest DB for releases, don't use a cached version. # Try downloading the vulnerability DB up to 5 times, to account for TOOMANYREQUESTS errors.