2
0
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:
Revant Nandgaonkar 2024-11-11 11:52:27 +05:30 committed by GitHub
parent 88ac02198a
commit 641550dce9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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