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
Build Args with comma in value throws "invalid build args" error #1082
Comments
Having the exact same issue with environment variables.
|
I've just digged a little bit more on this, and as far as I understand, this issue comes from the way is used the library pflag which handles the command arguments and options. Right now, both From my point of view, what would solve this issue is to use a However, this could mean that users that are currently relying on using this comma will need to add multiple What do you think @michaeldwan @jsierles? Would a PR changing this be useful? |
|
I didn't tried that one, thanks for posting it, I've tried another combination of simple, and double ticks between wrapping the value or the key. If there is a way to allow this behaviour, it might not make sense to potentially break other users usage. But fmpov, a nicer solution would be better and easier to understand for everyone. |
I just tested both |
Please only report specific issues with
flyctl
behavior. Anything like a support request for your application should go to https://community.fly.io. More people watch that space and can help you faster!Describe the bug
Briefly, describe what broke and provide the following details:
Same issue a #520
Running
fly deploy --build-arg SOME_BUILD_ARG="a,b"
throws the following:I've also tried:
fly version
fly v0.0.353 darwin/arm64 Commit: a6e61fa BuildDate: 2022-07-12T11:36:55Z
** Paste your
fly.toml
** Command output: **
The text was updated successfully, but these errors were encountered: