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: support APPNAME_CONFIG environment variable for config file #17

Merged
merged 1 commit into from
Aug 5, 2023

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Aug 2, 2023

This PR adds support for an environment variable for the config file of the form: <APP_NAME>_CONFIG, which will be overridden by command-line configuration option, if specified.

Ultimately, will be the fix for: anchore/syft#1986

Signed-off-by: Keith Zantow <kzantow@gmail.com>
Copy link
Contributor

@wagoodman wagoodman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might be this is too presumptive, but we can always change this behavior later

@kzantow kzantow merged commit 224dc42 into anchore:main Aug 5, 2023
@kzantow kzantow deleted the feat/config-from-env-var branch August 5, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants