optimize stop point on cloud deploy file config picking #515
Workflow file for this run
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
name: scan | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
grype: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
- name: Build image | |
run: docker build --pull -t kooldev/kool:4scan . | |
- name: Scan image | |
uses: anchore/scan-action@v2 | |
with: | |
image: "kooldev/kool:4scan" | |
fail-build: true | |
severity-cutoff: critical |