Skip to content

Commit 911e211

Browse files
authored
docs(config options): example to limit registryAliases to one manager (#30038)
1 parent da33634 commit 911e211

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/usage/configuration-options.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3722,7 +3722,7 @@ This feature works with the following managers:
37223722
- [`terraform`](modules/manager/terraform/index.md)
37233723
- [`woodpecker`](modules/manager/woodpecker/index.md)
37243724

3725-
```json
3725+
```json title="Setting generic aliases"
37263726
{
37273727
"registryAliases": {
37283728
"jfrogecosystem": "some.jfrog.mirror",
@@ -3731,6 +3731,17 @@ This feature works with the following managers:
37313731
}
37323732
```
37333733

3734+
```json title="Setting aliases for a specific Renovate manager only"
3735+
{
3736+
"gitlabci": {
3737+
"registryAliases": {
3738+
"$HARBOR_HOST/$HARBOR_PROJECT": "registry.example.com/proxy",
3739+
"$HARBOR_HOST/tools": "registry.example.com/tools"
3740+
}
3741+
}
3742+
}
3743+
```
3744+
37343745
## registryUrls
37353746

37363747
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.

0 commit comments

Comments
 (0)