summaryrefslogtreecommitdiff
path: root/Access another repository from a gitlab CI job.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-06-16 10:44:49 +0200
committerJasper Ras <jras@hostnet.nl>2025-06-16 10:44:49 +0200
commit0d389e1d6c1aed4a92f82d9711f4564a12390fcd (patch)
treeca4925547669a045d836c2aeb6d4b2309c3f5996 /Access another repository from a gitlab CI job.md
parent32422d2b9001291d7136036581122cf4b4eec75c (diff)
vault backup: 2025-06-16 10:44:49
Diffstat (limited to 'Access another repository from a gitlab CI job.md')
-rw-r--r--Access another repository from a gitlab CI job.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/Access another repository from a gitlab CI job.md b/Access another repository from a gitlab CI job.md
new file mode 100644
index 0000000..c785f62
--- /dev/null
+++ b/Access another repository from a gitlab CI job.md
@@ -0,0 +1,6 @@
+[[Gitlab Docs]] [[Use YAML anchors to reuse scripts in Gitlab CI]]
+
+To access another repo from a CI job use basic auth over https using the credentials: `gitlab-ci-token:${CI_JOB_TOKEN}`.
+
+Example:
+`https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.group.one/groupvps/group-one-backup-agent.git` \ No newline at end of file