Skip to content

Commit

Permalink
fix(build, buildah): add default registry for mirrors docker.io
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed May 30, 2024
1 parent bb737a9 commit cb21acf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/buildah/native_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ func generateRegistriesConfig(mirrors []string) (string, error) {
unqualified-search-registries = ["docker.io"]
{{ range . -}}
[[registry]]
location = "docker.io"
[[registry.mirror]]
location = "{{ . }}"
Expand Down

0 comments on commit cb21acf

Please sign in to comment.