From 0dbc97166c67bedafde05a9550a569dc81c4753c Mon Sep 17 00:00:00 2001
From: Lars Seipel <ls@slrz.net>
Date: Wed, 15 Jan 2025 15:43:17 +0100
Subject: [PATCH] build: fix cache key in trivydb creation workflow

Match the one used on cache restore.
---
 .github/workflows/trivydb-cache.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/trivydb-cache.yaml b/.github/workflows/trivydb-cache.yaml
index 605071e1..e07ce27d 100644
--- a/.github/workflows/trivydb-cache.yaml
+++ b/.github/workflows/trivydb-cache.yaml
@@ -36,4 +36,4 @@ jobs:
         uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
         with:
           path: ${{ github.workspace }}/.cache/trivy
-          key: cache-trivy-${{ steps.date.outputs.date }}
+          key: trivy-cache-${{ steps.date.outputs.date }}
-- 
GitLab