Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/packages/go_proxy/index.md')
-rw-r--r--doc/user/packages/go_proxy/index.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/user/packages/go_proxy/index.md b/doc/user/packages/go_proxy/index.md
index 29455fdbb35..d2edfcb94c5 100644
--- a/doc/user/packages/go_proxy/index.md
+++ b/doc/user/packages/go_proxy/index.md
@@ -106,6 +106,11 @@ the scope set to `api` or `read_api`.
Open your [`~/.netrc`](https://everything.curl.dev/usingcurl/netrc) file
and add the following text. Replace the variables in `< >` with your values.
+WARNING:
+If you use an environment variable called `NETRC`, Go will use its value
+as a filename and ignore `~/.netrc`. If you intend to use `~/.netrc` in
+the GitLab CI **do not use `NETRC` as an environment variable name**.
+
```plaintext
machine <url> login <username> password <token>
```