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

bake: allow variables to reference each other #539

Merged
merged 2 commits into from
Mar 19, 2021

Conversation

tonistiigi
Copy link
Member

depends on #538 #532

Allows variables to refer to other variables like the target blocks can. Stdlib functions can also be called. User functions can't atm. , I think changes are needed in upstream to support that.

Non-string variables are also now accepted. The value passed with env is parsed into suitable type first.

@vanstee @crazy-max

Signed-off-by: Tonis Tiigi <[email protected]>
@AkihiroSuda AkihiroSuda merged commit 28809b8 into docker:master Mar 19, 2021
@crazy-max crazy-max mentioned this pull request Jul 27, 2021
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