test trivy server
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paolo Asperti 2025-01-16 23:37:52 +01:00
parent 25eb14f93b
commit 7758e98bd3
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -31,7 +31,7 @@ jobs:
- name: Run Trivy vulnerability scanner - name: Run Trivy vulnerability scanner
id: scan id: scan
run: | run: |
trivy image --format json docker.asperti.com/paspo/ftps:latest > trivy-results.json trivy --server ${{ secrets.TRIVY_SERVER }} --token ${{ secrets.TRIVY_SERVER }} image --format json docker.asperti.com/paspo/ftps:latest > trivy-results.json
- uses: actions/cache/save@v4 - uses: actions/cache/save@v4
if: always() # salva in cache anche se trova vulnerabilità if: always() # salva in cache anche se trova vulnerabilità