-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Benji Visser <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ The simplest workflow for scanning a `localbuild/testimage` container: | |
load: true | ||
|
||
- name: Scan image | ||
uses: noqcks/[email protected].2 | ||
uses: noqcks/[email protected].3 | ||
with: | ||
image: "localbuild/testimage:latest" | ||
``` | ||
|
@@ -61,7 +61,7 @@ To scan a directory, add the following step: | |
```yaml | ||
- name: Scan current project | ||
uses: noqcks/[email protected].2 | ||
uses: noqcks/[email protected].3 | ||
with: | ||
path: "." | ||
``` | ||
|
@@ -80,7 +80,7 @@ Use the `sbom` key to scan an SBOM file: | |
output-file: "${{ github.event.repository.name }}-sbom.spdx.json" | ||
- name: Scan SBOM | ||
uses: noqcks/[email protected].2 | ||
uses: noqcks/[email protected].3 | ||
with: | ||
sbom: "${{ github.event.repository.name }}-sbom.spdx.json" | ||
``` | ||
|
@@ -93,7 +93,7 @@ You change the `fail-build` field to `false` to avoid failing the build in the c | |
|
||
```yaml | ||
- name: Scan image | ||
uses: noqcks/[email protected].2 | ||
uses: noqcks/[email protected].3 | ||
with: | ||
image: "localbuild/testimage:latest" | ||
fail-build: false | ||
|
@@ -134,7 +134,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- name: Build the container image | ||
run: docker build . --file Dockerfile --tag localbuild/testimage:latest | ||
- uses: noqcks/[email protected].2 | ||
- uses: noqcks/[email protected].3 | ||
with: | ||
image: "localbuild/testimage:latest" | ||
fail-build: true | ||
|