ci: push base and build images tags (#1499)
This commit is contained in:
committed by
GitHub
parent
ebeac0ee43
commit
3d6fb8c4b1
@@ -69,6 +69,8 @@ function "tag" {
|
|||||||
"${version}" == "develop" ? "${REGISTRY_USER}/${repo}:latest" : "${REGISTRY_USER}/${repo}:${version}",
|
"${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.
|
# Make short tag for major version if possible. For example, from v13.16.0 make v13.
|
||||||
can(regex("(v[0-9]+)[.]", "${version}")) ? "${REGISTRY_USER}/${repo}:${regex("(v[0-9]+)[.]", "${version}")[0]}" : "",
|
can(regex("(v[0-9]+)[.]", "${version}")) ? "${REGISTRY_USER}/${repo}:${regex("(v[0-9]+)[.]", "${version}")[0]}" : "",
|
||||||
|
# Make short tag for major version if possible. For example, from v13.16.0 make version-13.
|
||||||
|
can(regex("(v[0-9]+)[.]", "${version}")) ? "${REGISTRY_USER}/${repo}:version-${regex("([0-9]+)[.]", "${version}")[0]}" : "",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user