Skip to content

Commit b71b4b5

Browse files
authored
chore(ci): update Trivy action version in workflows (#1696)
Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent 693143e commit b71b4b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
cache-to: type=local,dest=/tmp/.buildx-cache-new
8989

9090
- name: Run Trivy vulnerability scanner in tarball mode
91-
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
91+
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # 0.34.2
9292
with:
9393
image-ref: dragonflyoss/client:${{ steps.get_version.outputs.VERSION }}
9494
severity: 'CRITICAL,HIGH'
@@ -185,7 +185,7 @@ jobs:
185185
cache-to: type=local,dest=/tmp/.buildx-cache-new
186186

187187
- name: Run Trivy vulnerability scanner in tarball mode
188-
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
188+
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # 0.34.2
189189
with:
190190
image-ref: dragonflyoss/client:${{ steps.get_version.outputs.VERSION }}-debug
191191
severity: 'CRITICAL,HIGH'
@@ -282,7 +282,7 @@ jobs:
282282
cache-to: type=local,dest=/tmp/.buildx-cache-new
283283

284284
- name: Run Trivy vulnerability scanner in tarball mode
285-
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
285+
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # 0.34.2
286286
with:
287287
image-ref: dragonflyoss/dfinit:${{ steps.get_version.outputs.VERSION }}
288288
severity: 'CRITICAL,HIGH'

0 commit comments

Comments
 (0)