Skip to content

Commit

Permalink
Update ci-schedule-imagescanning.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzhuang-zju authored Oct 30, 2023
1 parent 3e839b6 commit c3e5e26
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-schedule-imagescanning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c3e5e26

Please sign in to comment.