Skip to content

Commit

Permalink
#977: Fixed Trivy update cache workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Oct 14, 2024
1 parent e79f74d commit 6d29a52
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/update_trivy_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,22 @@ jobs:
steps:
- name: Run install dependencies
run: |
sudo apt update && sudo apt install -y awscli curl wget apt-transport-https gnupg lsb-release
sudo apt update && sudo apt install -y unzip curl wget apt-transport-https gnupg lsb-release
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -
echo deb 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
env:
DEBIAN_FRONTEND: noninteractive

- name: Run install awscli
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
./aws/install
working-directory: /tmp
env:
DEBIAN_FRONTEND: noninteractive
- name: Fetch trivy databases
run: |
trivy image --download-java-db-only
Expand Down
3 changes: 3 additions & 0 deletions doc/changes/changes_8.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ This release uses version 1.0.0 of the container tool.
- #944: Removed exaudfclient_bin_py3
- #967: Added ctpg script options parser

## Bugs
- #977: Fixed Trivy update cache workflow

## Doc

- #954: added release checklist

0 comments on commit 6d29a52

Please sign in to comment.