Set fail-build property to false
Whenever a security issue is found the `scan action` fails the build and the step, which causes the workflow to fail before uploading the results to Code Scanning. This change turns the error into a warning.
This commit is contained in:
@@ -39,6 +39,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
image: "localbuild/testimage:latest"
|
image: "localbuild/testimage:latest"
|
||||||
acs-report-enable: true
|
acs-report-enable: true
|
||||||
|
fail-build: false
|
||||||
- name: Upload Anchore Scan Report
|
- name: Upload Anchore Scan Report
|
||||||
uses: github/codeql-action/upload-sarif@v2
|
uses: github/codeql-action/upload-sarif@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user