From ef221038f7d07c67b7c26fc25e69744a898d0cb5 Mon Sep 17 00:00:00 2001 From: Aine Date: Mon, 2 Oct 2023 23:24:29 +0300 Subject: [PATCH] fix justfile --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index 6244f22..1fd3bd2 100644 --- a/justfile +++ b/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")