tests - add github token to trivy scanner
This commit is contained in:
parent
a19d8aa041
commit
148edf6814
@ -20,6 +20,7 @@ jobs:
|
|||||||
- name: Run Trivy security scanner
|
- name: Run Trivy security scanner
|
||||||
uses: aquasecurity/trivy-action@master
|
uses: aquasecurity/trivy-action@master
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
image-ref: 'bunkerized-nginx-autoconf'
|
image-ref: 'bunkerized-nginx-autoconf'
|
||||||
format: 'table'
|
format: 'table'
|
||||||
exit-code: '1'
|
exit-code: '1'
|
||||||
|
|||||||
@ -20,6 +20,7 @@ jobs:
|
|||||||
- name: Run Trivy security scanner
|
- name: Run Trivy security scanner
|
||||||
uses: aquasecurity/trivy-action@master
|
uses: aquasecurity/trivy-action@master
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
image-ref: 'bunkerized-nginx-ui'
|
image-ref: 'bunkerized-nginx-ui'
|
||||||
format: 'table'
|
format: 'table'
|
||||||
exit-code: '1'
|
exit-code: '1'
|
||||||
|
|||||||
1
.github/workflows/build-bunkerized-nginx.yml
vendored
1
.github/workflows/build-bunkerized-nginx.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
|||||||
- name: Run Trivy security scanner
|
- name: Run Trivy security scanner
|
||||||
uses: aquasecurity/trivy-action@master
|
uses: aquasecurity/trivy-action@master
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
image-ref: 'bunkerized-nginx'
|
image-ref: 'bunkerized-nginx'
|
||||||
format: 'table'
|
format: 'table'
|
||||||
exit-code: '1'
|
exit-code: '1'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user