diff --git a/.github/workflows/build-and-scan-PR-container.yml b/.github/workflows/build-and-scan-PR-container.yml index 1abbd5d..075fd92 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@595be6a0f6560a0a8fc419ddf630567fc623531d + uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 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 45cf40f..af6d54c 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@595be6a0f6560a0a8fc419ddf630567fc623531d + uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 with: image-ref: 'ghcr.io/${{ github.repository }}:latest' format: 'sarif'