mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-19 03:16:23 +00:00
Remove trivy cache from checkout folder
The release process is producing a local image and scanning it with trivy before continuing the process. As trivy is by default having its cache in the checked out folder for the code, the git repository ends up having content, and considered dirty by goreleaser. This is a problem, as goreleaser does not want to release if the git tree is dirty. This fixes it by ignoring all changes in .cache folder. Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
This commit is contained in:
@@ -5,3 +5,4 @@ dist
|
||||
.tmp/goreleaser
|
||||
test.json
|
||||
tests/kind/testfiles/*.yaml
|
||||
/.cache/
|
||||
|
||||
Reference in New Issue
Block a user