Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
feat: add container scan (#658)
Browse files Browse the repository at this point in the history
* feat: add container scan
  • Loading branch information
moolen authored Mar 16, 2021
1 parent c79af94 commit 82ff43e
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@ on:
pull_request:

jobs:

scan-container:
runs-on: ubuntu-18.04

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build Artifacts
run: docker build -t test:test .

- name: Trivy Scan - High and Critical Severity
uses: aquasecurity/[email protected]
with:
image-ref: test:test
exit-code: 1
ignore-unfixed: true
severity: HIGH,CRITICAL

test:
runs-on: ubuntu-latest
name: Node 12
Expand Down Expand Up @@ -36,4 +55,3 @@ jobs:
helm init --client-only
if: matrix.helmVersion == 'V2'
- run: ./e2e/run-e2e-suite.sh ${{ matrix.disableCustomResourceManager }} ${{ matrix.helmVersion }}

0 comments on commit 82ff43e

Please sign in to comment.