diff --git a/.github/workflows/reusable-trivy.yml b/.github/workflows/reusable-trivy.yml index f9e84bf..e3ab628 100644 --- a/.github/workflows/reusable-trivy.yml +++ b/.github/workflows/reusable-trivy.yml @@ -65,7 +65,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@1f0aa582c8c8f5f7639610d6d38baddfea4fdcee # v0.9.2 + uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # 0.12.0 with: scan-type: '${{ inputs.scan-type }}' scan-ref: '.' @@ -122,7 +122,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@1f0aa582c8c8f5f7639610d6d38baddfea4fdcee # v0.9.2 + uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # 0.12.0 with: image-ref: '${{ inputs.image-ref }}' format: 'template'