这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@fkorotkov
Copy link
Contributor

Fixes #488

@fkorotkov fkorotkov requested a review from edigaryev as a code owner May 6, 2023 11:10
@fkorotkov fkorotkov enabled auto-merge (squash) May 6, 2023 11:10
let process = Process.init()
process.executableURL = executableURL
// pass environment variables so things like AWS_PROFILE are picked up
process.environment = ProcessInfo.processInfo.environment
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a no-op:

By default, a Process object inherits its environment from the process that launches it.

(from https://developer.apple.com/documentation/foundation/process)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad. Seems user should just switch to newer credHelpers.

@edigaryev
Copy link
Collaborator

Judging from the ~/.docker/config.json in #488, I think the issue is that we just don't support credsStore at all, only auths and credHelpers.

@fkorotkov fkorotkov closed this May 7, 2023
auto-merge was automatically disabled May 7, 2023 17:17

Pull request was closed

@fkorotkov fkorotkov deleted the pass-env-to-cred-helpers branch July 6, 2023 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants