From ae4a1a544d5cd6ac34fc5ddca08febd55f6f0336 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 8 Mar 2024 15:20:40 +0100 Subject: [PATCH] Test trivy with cache. --- .gitea/workflows/release.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index b6ddfa7..9016dec 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -50,18 +50,8 @@ jobs: ACTIONS_RUNTIME_TOKEN: '' with: outputs: type=docker,dest=/tmp/startup.tar + cache-to: local,src=/tmp - - name: Upload artifact - uses: actions/upload-artifact@v3 - with: - name: startup.tar - path: /tmp/startup.tar - - - name: Download artifact - uses: actions/download-artifact@v3 - with: - name: startup - path: /tmp - name: Check with trivy uses: aquasecurity/trivy-action@master @@ -70,3 +60,4 @@ jobs: scan-type: 'fs' format: 'table' vuln-type: 'os,library' + cache-from: local,src=/tmp