remove env toggle

This commit is contained in:
Al Majumdar 2022-04-02 22:29:55 +05:30
parent 3a99a09440
commit 07078cd43d

View file

@ -13,17 +13,12 @@ variable "ERPNEXT_VERSION" {
default = "develop"
}
variable "ARCH_PLATFORMS" {
default = "local"
}
# Bench image
target "bench" {
context = "images/bench"
target = "bench"
tags = ["frappe/bench:latest"]
platforms = "${ARCH_PLATFORMS}"
}
target "bench-test" {
@ -63,7 +58,6 @@ 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 = "${ARCH_PLATFORMS}"
}
target "frappe-worker" {