-
Notifications
You must be signed in to change notification settings - Fork 43
Allow mounting in DOCKER_CONFIG again #392
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
Comments
@johnstcn It looks like we do this already: Lines 1633 to 1635 in 08bdb8d
Is this a problem with the latest version of envbuilder or is the customer looking for some other behavior than mentioned? If the expectation is to never overwrite |
Ah, good point. The difference in behaviour was pointed out between v1.0.0-rc.6 and v1.0.0-rc.7. |
Ok, so in v1.0.0-rc.7 the behavior was changed so that if you don't set base64, |
Confirmed that this is what's happening. |
Motivation
In #336 we temporarily override
DOCKER_CONFIG
to set the config specified byENVBUILDER_DOCKER_CONFIG_BASE64
.This breaks some existing users who were mounting in a docker config and specifying the
DOCKER_CONFIG
environment variable in their image.Proposed solution
Only override
DOCKER_CONFIG
ifENVBUILDER_DOCKER_CONFIG_BASE64
is set. Otherwise, leave it as-is.The text was updated successfully, but these errors were encountered: