tests - add github token to trivy scanner

This commit is contained in:
florian 2021-08-30 22:34:19 +02:00
parent a19d8aa041
commit 148edf6814
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
3 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ jobs:
- name: Run Trivy security scanner
uses: aquasecurity/trivy-action@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
image-ref: 'bunkerized-nginx-autoconf'
format: 'table'
exit-code: '1'

View File

@ -20,6 +20,7 @@ jobs:
- name: Run Trivy security scanner
uses: aquasecurity/trivy-action@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
image-ref: 'bunkerized-nginx-ui'
format: 'table'
exit-code: '1'

View File

@ -20,6 +20,7 @@ jobs:
- name: Run Trivy security scanner
uses: aquasecurity/trivy-action@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
image-ref: 'bunkerized-nginx'
format: 'table'
exit-code: '1'