detectHostRulesFromEnv ony supports domain names, should also support URLs with paths #32121
reegnz
started this conversation in
Suggest an Idea
Replies: 1 comment 3 replies
-
It's not supported today. You would need to figure out a way to support this syntax in env variables, because |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tell us more.
I want to use self-hosted renovate with
detectHostRulesFromEnv
.I want to detect private docker images from
ghrc.io/myprivaterepo
. Currently it seems to me like I can only setDOCKER_GHCR_IO_TOKEN=the-token
which is for the entirety ofghcr.io
, not scoped to just my org.Is there a way to pass a token to a URL name like
ghcr.io/myprivaterepo
throughdetectHostRulesFromEnv
?I don't want to use the token for all
ghcr.io
access, just for particular repos.I'm aware that I can pass this with a host-rule in the json config, I'm just wondering if it would be doable with env vars only.
Beta Was this translation helpful? Give feedback.
All reactions