Skip to content

Commit f0da01a

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ jobs:
200200
with:
201201
sarif_file: 'trivy-results.sarif'
202202
env:
203-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
203+
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}
204204

205205
report:
206206
name: "Trivy (report)"
@@ -224,4 +224,4 @@ jobs:
224224
image-ref: ${{ env.IMAGE_NAME }}:${{ github.sha }}
225225
format: 'table'
226226
env:
227-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
227+
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)