You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/node.js.yml
+1-14Lines changed: 1 addition & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# 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
2
2
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3
3
4
-
name: Node.js CI with Trivy
4
+
name: Node.js CI
5
5
6
6
on:
7
7
push:
@@ -27,16 +27,3 @@ jobs:
27
27
- run: npm ci
28
28
- run: npm run build --if-present
29
29
- 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