From 684d0e479fe4764c771312f82182a94f25eb351a Mon Sep 17 00:00:00 2001
From: runyontr <tom@runyon.dev>
Date: Thu, 8 Apr 2021 14:16:31 +0000
Subject: [PATCH] use `CI_PROJECT_URL` instead of `CI_REPOSITORY_URL` for self
 packaging release artifacts

---
 scripts/package/gits.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/package/gits.sh b/scripts/package/gits.sh
index 44714424e9..98da1ec193 100755
--- a/scripts/package/gits.sh
+++ b/scripts/package/gits.sh
@@ -5,7 +5,7 @@ mkdir -p repos/
 
 # "Package" ourselves
 # Do it this way on purpose (instead of cp or rsync) to ensure this never includes any unwanted "build" artifacts
-git -C repos/ clone -b ${CI_COMMIT_REF_NAME} ${CI_REPOSITORY_URL}
+git -C repos/ clone -b ${CI_COMMIT_REF_NAME} ${CI_PROJECT_URL}
 
 # Clone core
 yq e ".*.git.repo | select(. != null) | path | .[-3] " "chart/values.yaml" | while IFS= read -r package; do
-- 
GitLab