In CI service definition command can use reference keyword
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do and why?
In CI service definition command can use reference keyword
Add capability to do this:
.dind-registry-mirror:
command:
- "--registry-mirror"
- "https://mirror.gcr.io"
job_name:
services:
- name: docker:dind
command:
- !reference [.dind-registry-mirror, command]
- "--tls=false"
Signed-off-by: guillaume.micouin-jorda gmicouin@netcourrier.com
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
Issue: #517479
Edited by 🤖 GitLab Bot 🤖

