From d5551d3f1af06d4d6f36b69a425bffa04e103761 Mon Sep 17 00:00:00 2001
From: Dmitriy Safronov <zimniy@cyberbrain.pw>
Date: Sun, 18 Feb 2024 01:37:42 +0400
Subject: [PATCH] GITLAB_MIRROR_PREFIX variable

Signed-off-by: Dmitriy Safronov <zimniy@cyberbrain.pw>
---
 Auto-DevOps.gitlab-ci.yml | 2 +-
 README.md                 | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Auto-DevOps.gitlab-ci.yml b/Auto-DevOps.gitlab-ci.yml
index 5199587..0d9e725 100644
--- a/Auto-DevOps.gitlab-ci.yml
+++ b/Auto-DevOps.gitlab-ci.yml
@@ -2,7 +2,7 @@ include:
   - template: Auto-DevOps.gitlab-ci.yml
 
 variables:
-  GITLAB_MIRROR_PREFIX: "${CI_REGISTRY}/gitlab"
+  # Set `GITLAB_MIRROR_PREFIX` variable on the instance/group/project level. Exapmple - GITLAB_MIRROR_PREFIX: "${CI_REGISTRY}/gitlab"
   SECURE_ANALYZERS_PREFIX: "${GITLAB_MIRROR_PREFIX}/security-products"
   CLUSTER_INTEGRATION_PREFIX: "${GITLAB_MIRROR_PREFIX}/cluster-integration"
   CODE_QUALITY_PREFIX: "${GITLAB_MIRROR_PREFIX}/codequality"
diff --git a/README.md b/README.md
index a370867..034ad3d 100644
--- a/README.md
+++ b/README.md
@@ -13,3 +13,5 @@ include:
 ```
 
 ...where `project: 'gitlab/auto-devops'` contains absolute path to this repository from the root of your gitlab instance without leading slash.
+
+Set `GITLAB_MIRROR_PREFIX` variable on the instance/group/project level.
-- 
GitLab