From 3968a1b77a2ca2bfc63826d0c9f1e5713b39519a Mon Sep 17 00:00:00 2001 From: Al Majumdar <88921269+restlessronin@users.noreply.github.com> Date: Wed, 30 Mar 2022 14:07:14 +0530 Subject: [PATCH] correct syntax --- docker-bake.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-bake.hcl b/docker-bake.hcl index f5334846..2e46a097 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -62,7 +62,7 @@ target "default-args" { # If `ERPNEXT_VERSION` variable contains "v12" use Python 3.7. Else — 3.9. PYTHON_VERSION = can(regex("v12", "${ERPNEXT_VERSION}")) ? "3.7" : "3.9" } - platforms = notequal("pull_request", ${GITHUB_EVENT_NAME}), ["linux/amd64","linux/arm64"], ["linux/amd64"]) + platforms = notequal("pull_request", "${GITHUB_EVENT_NAME}") ? ["linux/amd64","linux/arm64"] : ["linux/amd64"] } target "frappe-worker" {