Skip to content

Commit

Permalink
ci: publish kubescape reports
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl committed Oct 14, 2024
1 parent d50bfab commit 87ebd24
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,15 @@ jobs:
OCI_ARTIFACT_DIGEST="$(awk -F "[, ]+" '/Digest/{print $NF}' < .digest)"
cosign sign --yes "${OCI_ARTIFACT_PATH}@${OCI_ARTIFACT_DIGEST}"
done
- name: Generate kubescape reports
run: |
kubescape scan framework cis-v1.23-t1.0.1 --format=html --output=kubescape-reports/cis-v1.23-t1.0.1.html charts/
kubescape scan framework nsa --format=html --output=kubescape-reports/nsa.html charts/
kubescape scan framework mitre --format=html --output=kubescape-reports/mitre.html charts/
- uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
with:
add: "kubescape-reports/"
message: "docs: updated kubescape reports"
new_branch: gh-pages

0 comments on commit 87ebd24

Please sign in to comment.