From 304edb8ee8910c27bfdd3c33952adca175feb751 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Fri, 23 Dec 2022 11:58:16 +0100 Subject: [PATCH] fix(docs): ensure the render folder is deleted --- .github/workflows/secgen.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/secgen.yaml b/.github/workflows/secgen.yaml index 5d997db1577..6da718d66b4 100644 --- a/.github/workflows/secgen.yaml +++ b/.github/workflows/secgen.yaml @@ -67,6 +67,7 @@ jobs: echo "" >> website/docs/charts/${train}/${chartname}/helm-security.md helm template ${chart} --output-dir ${chart}/render || echo "Helm template failed..." trivy config -f template --template "@./templates/trivy-config.tpl" ${chart}/render >> website/docs/charts/${train}/${chartname}/helm-security.md || echo "trivy scan failed..." + rm -rf ${chart}/render } container_sec_scan() { local chart="$1"