Skip to content
Discussion options

You must be logged in to vote

registryAliases doesn't take effect inside packageRules

Registry aliases are applied during the extract phase. But packageRules are only evaluated later, during the per-dependency lookup phase. So a registryAliases object nested inside a packageRules entry never reaches the extractor, and the alias is silently ignored.

Set it either at the top level (applies to all managers) or scoped to a specific manager by its name:

{
  "helm-values": {
    "registryAliases": {
      "docker.io": "registry.example.com"
    }
  }
}

The docs show these two forms.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cridam
Comment options

Answer selected by RahulGautamSingh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants