Merge pull request #5710 from MAVRICK-1/chore/update-trivy-version-v0.53.0

chore(hack): upgrade Trivy to v0.56.1 for consistency with CI
This commit is contained in:
karmada-bot 2024-10-21 09:26:30 +08:00 committed by GitHub
commit aab8bb9c00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ if util::cmd_exist trivy ; then
echo "pass" echo "pass"
else else
echo "start installing trivy" echo "start installing trivy"
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.48.1 curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.56.1
fi fi
if [ ${IMAGEREF} ];then if [ ${IMAGEREF} ];then