Test trivy with cache.

This commit is contained in:
2024-03-08 15:23:51 +01:00
parent ae4a1a544d
commit 23eb9e8b40

View File

@@ -50,8 +50,7 @@ jobs:
ACTIONS_RUNTIME_TOKEN: '' ACTIONS_RUNTIME_TOKEN: ''
with: with:
outputs: type=docker,dest=/tmp/startup.tar outputs: type=docker,dest=/tmp/startup.tar
cache-to: local,src=/tmp cache-to: type=local,src=/tmp
- name: Check with trivy - name: Check with trivy
uses: aquasecurity/trivy-action@master uses: aquasecurity/trivy-action@master
@@ -60,4 +59,4 @@ jobs:
scan-type: 'fs' scan-type: 'fs'
format: 'table' format: 'table'
vuln-type: 'os,library' vuln-type: 'os,library'
cache-from: local,src=/tmp cache-from: type=local,src=/tmp