Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Temporarily make manager image vulnerability scan non-blocking (#3126)

Wouter Born0ff1400a2ca9
diff --git a/.github/workflows/build-manager-image.yml b/.github/workflows/build-manager-image.yml
index c886ace83..8a78440c9 100644
--- a/.github/workflows/build-manager-image.yml
+++ b/.github/workflows/build-manager-image.yml
@@ -89,9 +89,18 @@ jobs:
id: manager-anchore-scan
with:
image: ${{ steps.meta.outputs.first_tag }}
- fail-build: true
+ fail-build: false
severity-cutoff: critical
+ - name: Upload Grype scan report
+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ if: always()
+ with:
+ name: grype-critical-vulnerability-report
+ # The scan-action automatically outputs the path to the SARIF file
+ path: ${{ steps.manager-anchore-scan.outputs.sarif }}
+ retention-days: 7
+
- name: Upload Anchore scan SARIF report
uses: github/codeql-action/upload-sarif@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
if: ${{ always() && steps.meta.outputs.should_push == 'true' }}