From 7e7b0383dba53ebc5908ec07d7db699d86b6e35c Mon Sep 17 00:00:00 2001
From: Pierre Smeyers <pierre.smeyers@gmail.com>
Date: Sun, 11 Aug 2024 15:49:23 +0200
Subject: [PATCH] docs: use variabilized GitLab server FQDN in CI/CD component
 reference URLs

---
 README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index f779d7a..e7018e0 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Add the following to your `.gitlab-ci.yml`:
 ```yaml
 include:
   # 1: include the component
-  - component: gitlab.com/to-be-continuous/node/gitlab-ci-node@4.0.0
+  - component: $CI_SERVER_FQDN/to-be-continuous/node/gitlab-ci-node@4.0.0
     # 2: set/override component inputs
     inputs:
       image: "registry.hub.docker.com/library/node:20" # ⚠ this is only an example
@@ -491,9 +491,9 @@ With:
 ```yaml
 include:
   # main template
-  - component: gitlab.com/to-be-continuous/node/gitlab-ci-node@4.0.0
+  - component: $CI_SERVER_FQDN/to-be-continuous/node/gitlab-ci-node@4.0.0
   # Vault variant
-  - component: gitlab.com/to-be-continuous/node/gitlab-ci-node-vault@4.0.0
+  - component: $CI_SERVER_FQDN/to-be-continuous/node/gitlab-ci-node-vault@4.0.0
     inputs:
       # audience claim for JWT
       vault-oidc-aud: "https://vault.acme.host"
-- 
GitLab