Skip to content

Commit a6ec5eb

Browse files
committed
reverting trivy scanning -running it locally
1 parent 846dfc4 commit a6ec5eb

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
33

4-
name: Node.js CI with Trivy
4+
name: Node.js CI
55

66
on:
77
push:
@@ -27,16 +27,3 @@ jobs:
2727
- run: npm ci
2828
- run: npm run build --if-present
2929
- run: npm test
30-
31-
trivy-scan:
32-
runs-on: ubuntu-latest
33-
steps:
34-
- uses: actions/checkout@v4
35-
- name: Install Trivy
36-
run: |
37-
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh
38-
sudo mv trivy /usr/local/bin/trivy
39-
- name: Scan Docker Image
40-
run: trivy image simple-application:sqlite
41-
- name: Scan Kubernetes Manifests
42-
run: trivy k8s --report all --file simple-app/templates/deployment.yaml

0 commit comments

Comments
 (0)