Skip to content

Commit

Permalink
add grype docker image scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriciojs committed Jan 30, 2021
1 parent 4d7176e commit 3e96bd3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
TAGNAME: ${{ steps.tagName.outputs.tag }}
run: docker run kooldev/kool:$TAGNAME kool --version

- name: Scan image
uses: anchore/scan-action@v2
with:
image: "kooldev/kool:$TAGNAME"
fail-build: true
severity-cutoff: critical

- name: Push to hub
env:
TAGNAME: ${{ steps.tagName.outputs.tag }}
Expand Down

0 comments on commit 3e96bd3

Please sign in to comment.