diff --git a/.gitea/workflows/vulnscan.yaml b/.gitea/workflows/vulnscan.yaml index 0a3b04b..d389189 100644 --- a/.gitea/workflows/vulnscan.yaml +++ b/.gitea/workflows/vulnscan.yaml @@ -25,7 +25,7 @@ jobs: - name: Run Trivy vulnerability scanner id: scan run: | - trivy --server ${{ secrets.TRIVY_SERVER }} --token ${{ secrets.TRIVY_SERVER }} image --format json docker.asperti.com/paspo/ftps:latest > trivy-results.json + trivy --server ${{ secrets.TRIVY_SERVER }} --token ${{ secrets.TRIVY_TOKEN }} image --format json docker.asperti.com/paspo/ftps:latest > trivy-results.json # if some vulnerability is found, we fail - name: check output