From 59ec527e9e548686dbd4ba7f8847c3a9f99ed717 Mon Sep 17 00:00:00 2001 From: AbhilashKD <124042593+AbhilashKD@users.noreply.github.com> Date: Thu, 2 May 2024 15:41:55 +0530 Subject: [PATCH] Update sample.yml --- .github/workflows/sample.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index 0c2752d..36ed7dc 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -18,6 +18,7 @@ jobs: 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 + pwd - name: Scan files with Trivy run: | @@ -35,7 +36,7 @@ jobs: cat body.txt >> email.txt sudo apt-get update sudo apt-get install -y mutt - mutt -s "Trivy Scan Report" -a trivy-files.txt -- abhilash.dube@tekditechnologies.com < email.txt + mutt -s "Trivy Scan Report" -a ./trivy-files.txt -- abhilash.dube@tekditechnologies.com < email.txt env: SMTP_SERVER: smtp.gmail.com SMTP_PORT: 587