Skip to content

Commit f17d7f6

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] Docker flow, GITHUB_TOKEN env added.
aquasecurity/trivy-action#389 (comment)
1 parent 13218a1 commit f17d7f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ jobs:
180180
uses: github/codeql-action/upload-sarif@v3
181181
with:
182182
sarif_file: 'trivy-results.sarif'
183+
env:
184+
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}
183185

184186
report:
185187
name: "Trivy (report)"
@@ -202,3 +204,5 @@ jobs:
202204
with:
203205
image-ref: ${{ env.IMAGE_NAME }}:${{ github.sha }}
204206
format: 'table'
207+
env:
208+
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)