@@ -86,6 +86,8 @@ func NewNativeBuildah(commonOpts CommonBuildahOpts, opts NativeModeOpts) (*Nativ
8686 OCIInsecureSkipTLSVerify : b .Insecure ,
8787 DockerInsecureSkipTLSVerify : imgtypes .NewOptionalBool (b .Insecure ),
8888 DockerDaemonInsecureSkipTLSVerify : b .Insecure ,
89+ SystemRegistriesConfPath : b .RegistriesConfigPath ,
90+ SystemRegistriesConfDirPath : b .RegistriesConfigDirPath ,
8991 },
9092 })
9193 if err != nil {
@@ -136,6 +138,8 @@ func (b *NativeBuildah) Push(ctx context.Context, ref string, opts PushOpts) err
136138 OCIInsecureSkipTLSVerify : b .Insecure ,
137139 DockerInsecureSkipTLSVerify : imgtypes .NewOptionalBool (b .Insecure ),
138140 DockerDaemonInsecureSkipTLSVerify : b .Insecure ,
141+ SystemRegistriesConfPath : b .RegistriesConfigPath ,
142+ SystemRegistriesConfDirPath : b .RegistriesConfigDirPath ,
139143 },
140144 }
141145
@@ -167,6 +171,8 @@ func (b *NativeBuildah) BuildFromDockerfile(ctx context.Context, dockerfile []by
167171 OCIInsecureSkipTLSVerify : b .Insecure ,
168172 DockerInsecureSkipTLSVerify : imgtypes .NewOptionalBool (b .Insecure ),
169173 DockerDaemonInsecureSkipTLSVerify : b .Insecure ,
174+ SystemRegistriesConfPath : b .RegistriesConfigPath ,
175+ SystemRegistriesConfDirPath : b .RegistriesConfigDirPath ,
170176 },
171177 Args : opts .BuildArgs ,
172178 }
@@ -266,6 +272,8 @@ func (b *NativeBuildah) Pull(ctx context.Context, ref string, opts PullOpts) err
266272 OCIInsecureSkipTLSVerify : b .Insecure ,
267273 DockerInsecureSkipTLSVerify : imgtypes .NewOptionalBool (b .Insecure ),
268274 DockerDaemonInsecureSkipTLSVerify : b .Insecure ,
275+ SystemRegistriesConfPath : b .RegistriesConfigPath ,
276+ SystemRegistriesConfDirPath : b .RegistriesConfigDirPath ,
269277 },
270278 }
271279
@@ -310,6 +318,8 @@ func (b *NativeBuildah) getImageBuilder(ctx context.Context, imgName string) (bu
310318 OCIInsecureSkipTLSVerify : b .Insecure ,
311319 DockerInsecureSkipTLSVerify : imgtypes .NewOptionalBool (b .Insecure ),
312320 DockerDaemonInsecureSkipTLSVerify : b .Insecure ,
321+ SystemRegistriesConfPath : b .RegistriesConfigPath ,
322+ SystemRegistriesConfDirPath : b .RegistriesConfigDirPath ,
313323 },
314324 })
315325 switch {
0 commit comments