1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-05-07 14:09:30 +02:00

src: add local mirror to buildkit toml

This commit is contained in:
Aditya Maru 2024-11-27 15:51:16 -05:00
parent 7e9c6bd324
commit c33190b3c9
3 changed files with 13 additions and 2 deletions

View file

@ -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,