mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-06 21:49:33 +02:00
src: add local mirror to buildkit toml
This commit is contained in:
parent
7e9c6bd324
commit
c33190b3c9
3 changed files with 13 additions and 2 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
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…
Add table
Add a link
Reference in a new issue