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

feat: add output-file option, default to random directory output in temp #346

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Jul 25, 2024

This PR makes a couple changes to the scan-action, one of which may be breaking for users:

  • modifies the grype invocation to output to a random file in $TEMP, instead of outputting directly in the workspace
  • adds an output-file parameter to allow users to specify an output file explicitly

Fixes #216
Fixes #238

Signed-off-by: Keith Zantow <kzantow@gmail.com>
@kzantow kzantow added the major Used by release-drafter to determine version label Jul 25, 2024
@kzantow kzantow requested a review from a team July 25, 2024 21:18
dist/index.js Outdated Show resolved Hide resolved
willmurphyscode
willmurphyscode previously approved these changes Oct 5, 2024
@willmurphyscode
Copy link
Contributor

discussed with @kzantow offline - there are still a few things that might be changed before the merge relating to multiple outputs. I'm moving this back to "in progress" and will re-review later.

@kzantow kzantow merged commit 028cd8f into anchore:main Dec 11, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major Used by release-drafter to determine version
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Unable to store output in "table" format Add output-file as an input param
2 participants