From c3e5e266b09e4d76b905abbc6fdd9905dffcc88a Mon Sep 17 00:00:00 2001 From: zhzhuang-zju Date: Mon, 30 Oct 2023 15:24:28 +0800 Subject: [PATCH] Update ci-schedule-imagescanning.yaml --- .github/workflows/ci-schedule-imagescanning.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci-schedule-imagescanning.yaml b/.github/workflows/ci-schedule-imagescanning.yaml index 31706069a804..8281ae73e6f3 100644 --- a/.github/workflows/ci-schedule-imagescanning.yaml +++ b/.github/workflows/ci-schedule-imagescanning.yaml @@ -26,12 +26,11 @@ jobs: steps: - name: install trivy run: | - export TRIVYVERSION=0.45.1 sudo apt-get install wget apt-transport-https gnupg lsb-release wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg --dearmor | sudo tee /usr/share/keyrings/trivy.gpg > /dev/null echo "deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/trivy.list sudo apt-get update - sudo apt-get install trivy=$TRIVYVERSION + sudo apt-get install trivy - name: checkout code uses: actions/checkout@v3 with: