We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CF_SITEKEY
1 parent d153f95 commit aa7f7d8Copy full SHA for aa7f7d8
1 file changed
docker-bake.hcl
@@ -2,8 +2,8 @@ variable "CF_SITEKEY" {
2
default = "$CF_SITEKEY"
3
4
validation {
5
- condition = CF_SITEKEY != ""
6
- error_message = "CF_SITEKEY environment variable not set"
+ condition = CF_SITEKEY != "" && CF_SITEKEY != "$CF_SITEKEY"
+ error_message = "CF_SITEKEY environment variable not set correctly"
7
}
8
9
0 commit comments