diff --git a/.github/workflows/trivy-analysis.yml b/.github/workflows/trivy-analysis.yml index 2027106e1..43f7db721 100644 --- a/.github/workflows/trivy-analysis.yml +++ b/.github/workflows/trivy-analysis.yml @@ -27,7 +27,7 @@ jobs: docker build -t docker.io/my-organization/my-app:${{ github.sha }} . - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@fd25fed6972e341ff0007ddb61f77e88103953c2 # master + uses: aquasecurity/trivy-action@595be6a0f6560a0a8fc419ddf630567fc623531d # master with: image-ref: 'docker.io/my-organization/my-app:${{ github.sha }}' format: 'template'