Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin Grype db for tests #120 #119

Merged
merged 10 commits into from Sep 13, 2021
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -51,7 +51,7 @@ The simplest workflow for scanning a `localbuild/testimage` container:
load: true

- name: Scan image
uses: anchore/scan-action@v2
uses: anchore/scan-action@v3
with:
image: "localbuild/testimage:latest"
```
Expand All @@ -62,7 +62,7 @@ To scan a directory, add the following step:

```yaml
- name: Scan current project
uses: anchore/scan-action@v2
uses: anchore/scan-action@v3
with:
path: "."
```
Expand All @@ -77,7 +77,7 @@ With a different severity level:

```yaml
- name: Scan image
uses: anchore/scan-action@v2
uses: anchore/scan-action@v3
with:
image: "localbuild/testimage:latest"
fail-build: true
Expand All @@ -88,7 +88,7 @@ Optionally, change the `fail-build` field to `false` to avoid failing the build

```yaml
- name: Scan image
uses: anchore/scan-action@v2
uses: anchore/scan-action@v3
with:
image: "localbuild/testimage:latest"
fail-build: false
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
- uses: actions/checkout@v2
- name: Build the container image
run: docker build . --file Dockerfile --tag localbuild/testimage:latest
- uses: anchore/scan-action@v2
- uses: anchore/scan-action@v3
with:
image: "localbuild/testimage:latest"
fail-build: true
Expand All @@ -147,7 +147,7 @@ jobs:
- uses: actions/checkout@v2
- name: Build the Container image
run: docker build . --file Dockerfile --tag localbuild/testimage:latest
- uses: anchore/scan-action@v2
- uses: anchore/scan-action@v3
id: scan
with:
image: "localbuild/testimage:latest"
Expand Down