File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
---
2
-
3
2
name : Docker Image CI
4
3
5
4
on : # yamllint disable-line rule:truthy
15
14
ARTIFACT_NAME : algorithm-exercises-csharp_${{ github.sha }}
16
15
17
16
jobs :
18
-
19
17
build :
20
18
name : " Build Docker images"
21
19
runs-on : ubuntu-latest
@@ -157,7 +155,7 @@ jobs:
157
155
- name : Upload result to GitHub Code Scanning
158
156
uses : github/codeql-action/upload-sarif@v3
159
157
with :
160
- sarif_file : ' snyk.sarif'
158
+ sarif_file : " snyk.sarif"
161
159
scan :
162
160
name : " Trivy (sarif)"
163
161
runs-on : ubuntu-latest
@@ -182,13 +180,15 @@ jobs:
182
180
uses :
aquasecurity/[email protected]
183
181
with :
184
182
image-ref : ${{ env.IMAGE_NAME }}:${{ github.sha }}
185
- format : ' sarif'
186
- output : ' trivy-results.sarif'
183
+ format : " sarif"
184
+ output : " trivy-results.sarif"
187
185
188
186
- name : Upload Trivy scan results to GitHub Security tab
189
187
uses : github/codeql-action/upload-sarif@v3
190
188
with :
191
- sarif_file : ' trivy-results.sarif'
189
+ sarif_file : " trivy-results.sarif"
190
+ env :
191
+ ACTIONS_RUNTIME_TOKEN : ${{ secrets.GITHUB_TOKEN }}
192
192
193
193
report :
194
194
name : " Trivy (report)"
@@ -210,4 +210,6 @@ jobs:
210
210
uses :
aquasecurity/[email protected]
211
211
with :
212
212
image-ref : ${{ env.IMAGE_NAME }}:${{ github.sha }}
213
- format : ' table'
213
+ format : " table"
214
+ env :
215
+ ACTIONS_RUNTIME_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments