Skip to content

Commit 0add667

Browse files
committed
fix(build, buildah): multiple registry mirrors broken
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
1 parent fea6195 commit 0add667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/buildah/native_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ func generateRegistriesConfig(mirrors []string) (string, error) {
222222
tpl := `
223223
unqualified-search-registries = ["docker.io"]
224224
225-
{{ range . -}}
226225
[[registry]]
227226
location = "docker.io"
228227
228+
{{ range . -}}
229229
[[registry.mirror]]
230230
location = "{{ . }}"
231231

0 commit comments

Comments
 (0)