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
This commit is contained in:
Revant Nandgaonkar
2024-11-11 11:52:27 +05:30
committed by GitHub
parent 88ac02198a
commit 641550dce9

View File

@@ -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}")
}