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

Commit 82ff43e

Browse files
authored
feat: add container scan (#658)
* feat: add container scan
1 parent c79af94 commit 82ff43e

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/workflow.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@ on:
77
pull_request:
88

99
jobs:
10+
11+
scan-container:
12+
runs-on: ubuntu-18.04
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Build Artifacts
19+
run: docker build -t test:test .
20+
21+
- name: Trivy Scan - High and Critical Severity
22+
uses: aquasecurity/[email protected]
23+
with:
24+
image-ref: test:test
25+
exit-code: 1
26+
ignore-unfixed: true
27+
severity: HIGH,CRITICAL
28+
1029
test:
1130
runs-on: ubuntu-latest
1231
name: Node 12
@@ -36,4 +55,3 @@ jobs:
3655
helm init --client-only
3756
if: matrix.helmVersion == 'V2'
3857
- run: ./e2e/run-e2e-suite.sh ${{ matrix.disableCustomResourceManager }} ${{ matrix.helmVersion }}
39-

0 commit comments

Comments
 (0)