Skip to content
Snippets Groups Projects
Unverified Commit 5ef3b3ee authored by HonkingGoose's avatar HonkingGoose Committed by GitHub
Browse files

docs: add headings to hostRules config with env vars (#10067)

parent 48af0da9
No related merge requests found
......@@ -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`:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment