We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
null
with variable "FOO" {}, I think that FOO should evaluate to null, not an empty string.
variable "FOO" {}
FOO
variable "foo" {} target "default" { args = { isNull = equal(foo, null) isEmptyString = equal(foo, "") } }
$ bake --print
{ "target": { "default": { "context": ".", "dockerfile": "Dockerfile", "args": { "isEmptyString": "false", "isNull": "true" } } } }
{ "target": { "default": { "context": ".", "dockerfile": "Dockerfile", "args": { "isEmptyString": "true", "isNull": "false" } } } }
github.com/docker/buildx 3b25e3f 3b25e3f
No response
[david:~/src/s/playground] $ buildx ls NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS container* docker-container \_ container0 \_ desktop-linux running 064e35a linux/arm64, linux/amd64, linux/amd64/v2, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/mips64le, linux/mips64, linux/arm/v7, linux/arm/v6 default docker \_ default \_ default running v0.13.2 linux/arm64, linux/amd64, linux/amd64/v2, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/mips64le, linux/mips64, linux/arm/v7, linux/arm/v6 desktop-linux docker \_ desktop-linux \_ desktop-linux running v0.13.2 linux/arm64, linux/amd64, linux/amd64/v2, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/mips64le, linux/mips64, linux/arm/v7, linux/arm/v6 cloud-docker-default cloud error Cannot load builder cloud-docker-default: failed to find driver "cloud"
The text was updated successfully, but these errors were encountered:
crazy-max
Successfully merging a pull request may close this issue.
Contributing guidelines
I've found a bug and checked that ...
Description
with
variable "FOO" {}
, I think thatFOO
should evaluate tonull
, not an empty string.Expected behaviour
$ bake --print
Actual behaviour
$ bake --print
Buildx version
github.com/docker/buildx 3b25e3f 3b25e3f
Docker info
No response
Builders list
Configuration
Build logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: