-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow users to have separate store paths #385
Conversation
Two UX questions:
|
cbf1b82
to
947664b
Compare
I'm ok with the I think loading a builder config from a file or having project-specific builders is a valid use case but probably these should be handled separately. |
@tonistiigi thanks for the review, and I think you are right. I will revisit this ping you once it is ready for review. |
947664b
to
394bb50
Compare
@tonistiigi please have another look now! |
commands/util.go
Outdated
// of Docker config file (i.e. `${DOCKER_CONFIG}/buildx`) | ||
func getConfigStorePath(dockerCli command.Cli) string { | ||
if buildxConfig := os.Getenv("BUILDX_CONFIG"); buildxConfig != "" { | ||
logrus.Infof("using config store %q based in \"$BUILDX_CONFIG\" environment variable", buildxConfig) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you change these to Debugf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done 👍
- decouple store path from `$DOCKER_CONFIG` - improve containerised build setup - introduce new `$BUILDX_CONFIG` environment variable Signed-off-by: Ilya Dmitrichenko <[email protected]>
394bb50
to
4b2aab0
Compare
Thanks!
…On Thu, 10 Sep 2020, 6:24 pm Tõnis Tiigi, ***@***.***> wrote:
Merged #385 <#385> into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#385 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB5MSY654AH42QZFJWDTR3SFEDUNANCNFSM4Q7XMVDA>
.
|
$DOCKER_CONFIG
$BUILDX_CONFIG
environment variableRelated to #308