fix justfile
This commit is contained in:
parent
7a50caac86
commit
ef221038f7
1 changed files with 1 additions and 1 deletions
2
justfile
2
justfile
|
|
@ -1,5 +1,5 @@
|
|||
tag := if env_var_or_default("CI_COMMIT_TAG", "main") == "main" { "latest" } else { env_var_or_default("CI_COMMIT_TAG", "latest") }
|
||||
repo := trim_end_match(replace(replace_regex(env_var_or_default("CI_REGISTRY_IMAGE", `git remote get-url origin`), ".*@|", ""), ":", "/"),".git")
|
||||
repo := trim_end_match(replace(replace_regex(env_var_or_default("CI_REPOSITORY_URL", `git remote get-url origin`), ".*@|", ""), ":", "/"),".git")
|
||||
project := file_name(repo)
|
||||
gitlab_image := "registry." + repo + ":" + tag
|
||||
etke_image := replace(gitlab_image, "gitlab.com", "etke.cc")
|
||||
|
|
|
|||
Loading…
Reference in a new issue