Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(redhat): don't return error if root/buildinfo/content_manifests/ contains files that are not contentSets files [backport: release/v0.57] #7939

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

aqua-bot
Copy link
Contributor

…` contains files that are not `contentSets` files (#7912)
@DmitriyLewen DmitriyLewen added this pull request to the merge queue Nov 18, 2024
Merged via the queue into release/v0.57 with commit 7dd70dc Nov 18, 2024
12 checks passed
@DmitriyLewen DmitriyLewen deleted the backport-pr-7912-to-release/v0.57 branch November 18, 2024 09:51
@sblatnick
Copy link

Still seeing this in 0.57.1

@DmitriyLewen
Copy link
Contributor

Hello @sblatnick
Can you try to clear cache? (trivy clean --scan-cache)

@sblatnick
Copy link

This command worked for me. Thanks!
(I thought we had tried this, but looks like either we the command never ran when we thought it did or maybe trivy clean --all doesn't include the scan cache.)

@DmitriyLewen
Copy link
Contributor

hm... trivy clean --all includes clearing of scan cache.

But anyway, it's good that Trivy now works properly.

@sblatnick
Copy link

Mystery solved. We discovered the real problem was we needed to specify the --cache-dir like we do when we use trivy. For my local test, the default worked. But when we tried in our CI/CD tools, we use a custom path for a cache volume in kubernetes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants