feat: Detect host rules from env

This commit is contained in:
Peter 2026-05-08 13:58:53 +02:00
parent c40ccabcbb
commit b01b6a8987
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
2 changed files with 2 additions and 14 deletions

View file

@ -18,18 +18,4 @@ data:
},
optimizeForDisabled: true,
persistRepoData: true,
hostRules: [
{
hostType: 'docker',
matchHost: 'docker.io',
username: process.env.DOCKER_USERNAME,
password: process.env.DOCKER_TOKEN,
},
{
hostType: 'docker',
matchHost: 'registry-1.docker.io',
username: process.env.DOCKER_USERNAME,
password: process.env.DOCKER_TOKEN,
},
],
};