diff --git a/docs/usage/private-modules.md b/docs/usage/private-modules.md index 76611a006dc269b588b51e6143bb0c933170733a..3a1ef51301fcda4c4679f1bf63bd7c7f9bc5de69 100644 --- a/docs/usage/private-modules.md +++ b/docs/usage/private-modules.md @@ -227,7 +227,7 @@ The format of the environment variables must be all upper-case and follow: Hyphens (`-`) in datasource or host name must be replaced with double underscores (`__`). Periods (`.`) in host names must be replaced with a single underscore (`_`). -Examples: +#### npmjs registry token example `NPM_REGISTRY_NPMJS_ORG_TOKEN=abc123`: @@ -243,6 +243,8 @@ Examples: } ``` +#### GitLab Tags username/password example + `GITLAB__TAGS_CODE__HOST_COMPANY_COM_USERNAME=bot GITLAB__TAGS_CODE__HOST_COMPANY_COM_PASSWORD=botpass123`: ```json @@ -258,9 +260,9 @@ Examples: } ``` -It's also possible to skip the host part, and just have datasource + credentials. +#### Datasource and credentials only -Example: +You can skip the host part, and use just the datasource and credentials. `DOCKER_USERNAME=bot DOCKER_PASSWORD=botpass123`: