Skip to content

Commit

Permalink
Patch Trivy Caching (#475)
Browse files Browse the repository at this point in the history
Signed-off-by: tylertitsworth <[email protected]>
Co-authored-by: Jitendra Patil <[email protected]>
  • Loading branch information
Tyler Titsworth and jitendra42 authored Oct 21, 2024
1 parent 4a7b19f commit 1ae2b58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/container-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ jobs:
# password: ${{ secrets.REGISTRY_TOKEN }}
- name: Pull Image
run: docker pull ${{ secrets.REGISTRY }}/${{ secrets.REPO }}:${{ matrix.container }}
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
with:
path: ${{ github.workspace }}/.cache/trivy
key: ${{ github.head_ref || github.ref_name }}-trivy
- name: Scan Container
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 # v0.28.0
with:
Expand Down

0 comments on commit 1ae2b58

Please sign in to comment.