Skip to content

Commit 1d7ddff

Browse files
authored
update cache action to latest
Signed-off-by: Jitendra Patil <jitendra.patil@intel.com>
1 parent c3537df commit 1d7ddff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/container-ci.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
run: echo "TRIVY_CACHE_DIR=$GITHUB_WORKSPACE/trivy-cache" >> $GITHUB_ENV
126126
- name: Restore Trivy cache
127127
id: cache-trivy-db
128-
uses: actions/cache@v3
128+
uses: actions/cache@v4.1.2
129129
with:
130130
path: ${{ github.workspace }}/trivy-cache
131131
key: ${{ runner.os }}-trivy-db-${{ hashFiles('**/Dockerfile') }}
@@ -138,7 +138,7 @@ jobs:
138138
mkdir -p $GITHUB_WORKSPACE/trivy-cache
139139
mv ~/.cache/trivy/db $GITHUB_WORKSPACE/trivy-cache
140140
- name: Save Trivy cache
141-
uses: actions/cache@v3
141+
uses: actions/cache@v4.1.2
142142
with:
143143
path: ${{ github.workspace }}/trivy-cache
144144
key: ${{ runner.os }}-trivy-db-${{ hashFiles('**/Dockerfile') }}
@@ -164,7 +164,7 @@ jobs:
164164
- name: Set up Trivy cache directory
165165
run: echo "TRIVY_CACHE_DIR=$GITHUB_WORKSPACE/trivy-cache" >> $GITHUB_ENV
166166
- name: Restore Trivy cache
167-
uses: actions/cache@v3
167+
uses: actions/cache@v4.1.2
168168
with:
169169
path: ${{ github.workspace }}/trivy-cache
170170
key: ${{ runner.os }}-trivy-db-${{ hashFiles('**/Dockerfile') }}

0 commit comments

Comments
 (0)