mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-02 22:00:22 +00:00
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:
parent
88ac02198a
commit
641550dce9
@ -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}")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user