src: add local mirror to buildkit toml
parent
7e9c6bd324
commit
c33190b3c9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
11
src/main.ts
11
src/main.ts
|
@ -243,6 +243,17 @@ async function writeBuildkitdTomlFile(parallelism: number): Promise<void> {
|
|||
grpc: {
|
||||
address: ['unix:///run/buildkit/buildkitd.sock']
|
||||
},
|
||||
registry: {
|
||||
'docker.io': {
|
||||
mirrors: ['http://192.168.127.1:5000'],
|
||||
http: true,
|
||||
insecure: true
|
||||
},
|
||||
'192.168.127.1:5000': {
|
||||
http: true,
|
||||
insecure: true
|
||||
}
|
||||
},
|
||||
worker: {
|
||||
oci: {
|
||||
enabled: true,
|
||||
|
|
Loading…
Reference in New Issue