Skip to content

Commit 8f263df

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

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
@@ -189,6 +189,8 @@ jobs:
189189
uses: github/codeql-action/upload-sarif@v3
190190
with:
191191
sarif_file: 'trivy-results.sarif'
192+
env:
193+
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}
192194

193195
report:
194196
name: "Trivy (report)"
@@ -211,3 +213,5 @@ jobs:
211213
with:
212214
image-ref: ${{ env.IMAGE_NAME }}:${{ github.sha }}
213215
format: 'table'
216+
env:
217+
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)