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

Support tag options via environment variables #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeffesquivels
Copy link

This PR introduces support for allowing the user to pass the --tag-uv, --tag-armv and --tag-libc options through environment variables PREBUILD_TAG_UV, PREBUILD_TAG_ARMV and PREBUILD_TAG_LIBC (respectively).

Setting the environment variable to '1' has the same effect as specifying the corresponding option from the command line by itself (i.e. PREBUILD_TAG_ARMV=1 is the same as --tag-uv) and setting it to any other value different than '1' has the same effect as specifying that value to the CLI option (i.e. PREBUILD_TAG_ARMV=foo is the same as --tag-uv foo).

This commit allows the user to pass the --tag-uv, --tag-armv and
--tag-libc options through environment variables PREBUILD_TAG_UV,
PREBUILD_TAG_ARMV and PREBUILD_TAG_ARMV (respectively).
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.

None yet

1 participant