This commit is contained in:
11
config.js
11
config.js
@@ -10,4 +10,15 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
optimizeForDisabled: true,
|
optimizeForDisabled: true,
|
||||||
persistRepoData: true,
|
persistRepoData: true,
|
||||||
|
hostRules: [
|
||||||
|
{
|
||||||
|
// This rule applies to any host that Renovate's internal Git client tries to connect to
|
||||||
|
// that matches 'crunchy-orchestrator:3000'.
|
||||||
|
matchHost: 'crunchy-orchestrator:3000',
|
||||||
|
// Instead of crunchy-orchestrator:3000, use gitea-server:3000
|
||||||
|
replaceHost: 'gitea-server:3000',
|
||||||
|
// Ensure the token is also applied for this replacement host
|
||||||
|
token: process.env.RENOVATE_TOKEN, // Use the same token you pass via env
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user