diff --git a/.github/workflows/k8s-event-exporter-ci.yaml b/.github/workflows/k8s-event-exporter-ci.yaml index d4e678a..1b17b47 100644 --- a/.github/workflows/k8s-event-exporter-ci.yaml +++ b/.github/workflows/k8s-event-exporter-ci.yaml @@ -114,10 +114,11 @@ jobs: - name: validate if exist vuln if: ${{ steps.trivy_scan.outcome == 'failure' }} run: | - echo "### See detailed vuln scan in: " > /tmp/vuln_info.md - echo "
![](https://custom-icon-badges.demolab.com/badge/Vulnerability-detected-red.svg)
" >> /tmp/vuln_info.md - echo " * Vulnerability report: [vuln_scans/${{ env.REPO_APP }}_vuln_scan](https://github.com/${{ github.repository }}/blob/${{ github.ref_name }}/vuln_scans/${{ env.REPO_APP }}_vuln_scan.table)" >> /tmp/vuln_info.md - echo " * Vulnerability detected in commit: ${{ github.sha }}" >> /tmp/vuln_info.md + echo "### See detailed information in: " > /tmp/vuln_info.md + echo "
![](https://custom-icon-badges.demolab.com/badge/Vulnerability-detected-red.svg) ![](https://custom-icon-badges.demolab.com/badge/Affected_version-${{ steps.nversion.outputs.NEW_VERSION }}-purple.svg)
" >> /tmp/vuln_info.md + echo " * Detected in image: [${{ env.REPO_APP }}](https://hub.docker.com/repository/docker/jpradoar/${{ env.REPO_APP }}/general)" >> /tmp/vuln_info.md + echo " * Detected in commit: ${{ github.sha }}" >> /tmp/vuln_info.md + echo " * Vulnerability report: [vuln_report](https://github.com/jpradoar/event-driven-architecture/blob/feat/issues/3/vuln_scans/${{ env.REPO_APP }}_vuln_scan.table)" >> /tmp/vuln_info.md - name: update data