diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-01 18:10:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-01 18:10:20 +0300 |
commit | 9c191c0b942eb08360f4d64c038c435b1156e15f (patch) | |
tree | 18ac3c7c2d816ffa4898202102cb889c2c6ca5a7 /doc/ci/variables | |
parent | 219501933150525be819f047d3196969ee914c47 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/variables')
-rw-r--r-- | doc/ci/variables/index.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/ci/variables/index.md b/doc/ci/variables/index.md index 9b111e9b60a..7b909cf15f8 100644 --- a/doc/ci/variables/index.md +++ b/doc/ci/variables/index.md @@ -20,6 +20,15 @@ You can use [predefined CI/CD variables](#predefined-cicd-variables) or define c - [Group CI/CD variables](#add-a-cicd-variable-to-a-group). - [Instance CI/CD variables](#add-a-cicd-variable-to-an-instance). +NOTE: +Variables set in the GitLab UI are **not** passed down to [service containers](../docker/using_docker_images.md). +To set them, assign them to variables in the UI, then re-assign them in your `.gitlab-ci.yml`: + +```yaml +variables: + SA_PASSWORD: $SA_PASSWORD +``` + > For more information about advanced use of GitLab CI/CD: > > - <i class="fa fa-youtube-play youtube" aria-hidden="true"></i> Get to productivity faster with these [7 advanced GitLab CI workflow hacks](https://about.gitlab.com/webcast/7cicd-hacks/) |