From 641550dce9bd1dc1193e0497ad6b88e4d62b3150 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Mon, 11 Nov 2024 11:52:27 +0530 Subject: [PATCH] ci: push frappe or erpnext branch as tag (#1508) * ci: push frappe or erpnext branch as tag * ci: build arm64 images * revert: build arm64 images --- docker-bake.hcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-bake.hcl b/docker-bake.hcl index 9dc4c4c0..3304ce40 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -65,6 +65,8 @@ group "default" { function "tag" { params = [repo, version] result = [ + # Push frappe or erpnext branch as tag + "${REGISTRY_USER}/${repo}:${version}", # If `version` param is develop (development build) then use tag `latest` "${version}" == "develop" ? "${REGISTRY_USER}/${repo}:latest" : "${REGISTRY_USER}/${repo}:${version}", # Make short tag for major version if possible. For example, from v13.16.0 make v13. @@ -107,5 +109,5 @@ target "build" { context = "." dockerfile = "images/production/Containerfile" target = "build" - tags = tag("build", "${FRAPPE_VERSION}") + tags = tag("build", "${ERPNEXT_VERSION}") }