Skip to content

Commit

Permalink
docs(config options): example to limit registryAliases to one manag…
Browse files Browse the repository at this point in the history
…er (#30038)
  • Loading branch information
HonkingGoose committed Jul 14, 2024
1 parent da33634 commit 911e211
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/usage/configuration-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -3722,7 +3722,7 @@ This feature works with the following managers:
- [`terraform`](modules/manager/terraform/index.md)
- [`woodpecker`](modules/manager/woodpecker/index.md)

```json
```json title="Setting generic aliases"
{
"registryAliases": {
"jfrogecosystem": "some.jfrog.mirror",
Expand All @@ -3731,6 +3731,17 @@ This feature works with the following managers:
}
```

```json title="Setting aliases for a specific Renovate manager only"
{
"gitlabci": {
"registryAliases": {
"$HARBOR_HOST/$HARBOR_PROJECT": "registry.example.com/proxy",
"$HARBOR_HOST/tools": "registry.example.com/tools"
}
}
}
```

## registryUrls

Usually Renovate is able to either (a) use the default registries for a datasource, or (b) automatically detect during the manager extract phase which custom registries are in use.
Expand Down

0 comments on commit 911e211

Please sign in to comment.