Update workflows/.gitea/action.yml
Security Scan / Trivy Security Scan (push) Has been cancelled

This commit is contained in:
2025-12-11 20:46:40 +01:00
parent ef9fa32275
commit b1cd2ef791
+2 -2
View File
@@ -24,7 +24,8 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install wget apt-transport-https gnupg lsb-release -y sudo apt-get install wget apt-transport-https gnupg lsb-release -y
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add - wget -qO /tmp/trivy-key.asc https://aquasecurity.github.io/trivy-repo/deb/public.key
sudo apt-key add /tmp/trivy-key.asc
echo "deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/trivy.list 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 update
sudo apt-get install trivy -y sudo apt-get install trivy -y
@@ -80,4 +81,3 @@ jobs:
echo "=== Semgrep Static Analysis Results ===" echo "=== Semgrep Static Analysis Results ==="
cat semgrep-results.txt cat semgrep-results.txt
fi fi