diff --git a/.github/workflows/build-and-scan-PR-container.yml b/.github/workflows/build-and-scan-PR-container.yml index 0b51aba..9392a18 100644 --- a/.github/workflows/build-and-scan-PR-container.yml +++ b/.github/workflows/build-and-scan-PR-container.yml @@ -53,7 +53,7 @@ jobs: org.opencontainers.image.revision=${{ github.sha }} - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@062f2592684a31eb3aa050cc61e7ca1451cecd3d + uses: aquasecurity/trivy-action@d710430a6722f083d3b36b8339ff66b32f22ee55 with: image-ref: ghcr.io/${{ github.repository }}:sha-${{ github.sha }} format: "sarif" diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index e45e9ca..cdd00bb 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -24,7 +24,7 @@ jobs: uses: actions/checkout@v4 - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@062f2592684a31eb3aa050cc61e7ca1451cecd3d + uses: aquasecurity/trivy-action@d710430a6722f083d3b36b8339ff66b32f22ee55 with: image-ref: 'ghcr.io/${{ github.repository }}:latest' format: 'sarif'