diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index fa1f2ff..a6a17bd 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -131,16 +131,8 @@ jobs: contents: read security-events: write steps: - - name: Get current date - id: date - run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT - - name: Restore cached trivy DBs - uses: actions/cache/restore@v4 - with: - path: ${{ github.workspace }}/.cache/trivy - key: cache-trivy-${{ steps.date.outputs.date }} - name: run trivy vulnerability scanner - uses: aquasecurity/trivy-action@1f6384b6ceecbbc6673526f865b818a2a06b07c9 + uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 with: image-ref: "ghcr.io/${{ github.repository }}:${{ needs.branch_meta.outputs.sha }}" format: "sarif"