diff --git a/.github/workflows/reusable-build.yaml b/.github/workflows/reusable-build.yaml index 0d2d07f..006451e 100644 --- a/.github/workflows/reusable-build.yaml +++ b/.github/workflows/reusable-build.yaml @@ -86,7 +86,7 @@ jobs: severity: 'CRITICAL' - name: Run Grype vulnerability scanner on PR if: ${{ github.event_name == 'pull_request' }} - uses: anchore/scan-action@v3 + uses: anchore/scan-action@v4 with: image: ${{ steps.meta.outputs.tags }} severity-cutoff: critical @@ -102,7 +102,7 @@ jobs: - name: Run Grype vulnerability scanner on push if: ${{ github.event_name == 'push' }} id: grype - uses: anchore/scan-action@v3 + uses: anchore/scan-action@v4 with: image: ${{ steps.meta.outputs.tags }} severity-cutoff: critical