Skip to content

Commit

Permalink
src: add local mirror to buildkit toml
Browse files Browse the repository at this point in the history
  • Loading branch information
adityamaru committed Nov 27, 2024
1 parent 7e9c6bd commit c33190b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c33190b

Please sign in to comment.