New ๐ŸŒŠ wave for @helm

Commit 4a0d6d82

4a0d6d82b160Merged

Svyatoslav Dumchenko <[email protected]> ยท 4 years ago ยท 2 files ยท ~2 modified

Description

feat: update some actions

Details

Commit
4a0d6d82b160
Parent
271f90da1c19

.github/workflows/container-analysis.ymlmodifiedView file

@@ -2,42 +2,43 @@
22
33 on:
44 push:
5- branches: [ main ]
5+ branches: [main]
66 schedule:
7- - cron: '44 10 * * 6'
8-
7+ - cron: "44 10 * * 6"
98
109 jobs:
1110 trivy:
1211 runs-on: ubuntu-latest
1312 steps:
14- - name: Run Trivy
15- uses: aquasecurity/trivy-action@0105373003c89c494a3f436bd5efc57f3ac1ca20
16- with:
17- image-ref: 'ghcr.io/helmwave/helmwave:latest'
18- format: 'template'
19- template: '@/contrib/sarif.tpl'
20- output: 'trivy-results.sarif'
21- severity: 'CRITICAL,HIGH'
13+ - name: Run Trivy
14+ uses: aquasecurity/trivy-action@503d3abc15463af68b817d685982721f134256a5
15+ with:
16+ image-ref: "ghcr.io/${{ github.repository }}:latest"
17+ format: "template"
18+ template: "@/contrib/sarif.tpl"
19+ output: "trivy-results.sarif"
20+ severity: "CRITICAL,HIGH"
2221
23- - name: Upload Trivy scan results to GitHub Security tab
24- uses: github/codeql-action/upload-sarif@v2
25- with:
26- sarif_file: 'trivy-results.sarif'
22+ - name: Upload Trivy scan results to GitHub Security tab
23+ uses: github/codeql-action/upload-sarif@v2
24+ with:
25+ sarif_file: "trivy-results.sarif"
2726
2827 snyk:
2928 runs-on: ubuntu-latest
3029 steps:
31- - uses: actions/checkout@v3
32- - name: Run Snyk
33- continue-on-error: true
34- uses: snyk/actions/docker@14818c4695ecc4045f33c9cee9e795a788711ca4
35- env:
36- SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
37- with:
38- image: ghcr.io/helmwave/helmwave:latest
39- args: --file=Dockerfile
40- - name: Upload Snyk result to GitHub Code Scanning
41- uses: github/codeql-action/upload-sarif@v2
42- with:
43- sarif_file: snyk.sarif
30+ - uses: actions/checkout@v3
31+
32+ - name: Run Snyk
33+ continue-on-error: true
34+ uses: snyk/actions/docker@ff5c02a0e3adc5c52e2c9e7558edf2b46d69ac1f
35+ env:
36+ SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
37+ with:
38+ image: ghcr.io/${{ github.repository }}:latest
39+ args: --file=Dockerfile
40+
41+ - name: Upload Snyk result to GitHub Code Scanning
42+ uses: github/codeql-action/upload-sarif@v2
43+ with:
44+ sarif_file: snyk.sarif