Skip to content

Commit

Permalink
fix: use registry url rather than name
Browse files Browse the repository at this point in the history
  • Loading branch information
argoyle committed Jan 23, 2020
1 parent 3db0b64 commit ec74e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func build(client docker.Client, dir string, buildContext io.ReadCloser, out, eo
_, _ = fmt.Fprintln(eout, err.Error())
return -4
}
authConfigs[currentRegistry.Name()] = currentRegistry.GetAuthConfig()
authConfigs[currentRegistry.RegistryUrl()] = currentRegistry.GetAuthConfig()
}

var buf bytes.Buffer
Expand Down

0 comments on commit ec74e47

Please sign in to comment.