Skip to content
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

fix(linux): DOCKER_CONFIG path #1102

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Conversation

pendo324
Copy link
Member

Issue #, if available:

Description of changes:

Testing done:

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Signed-off-by: Justin Alvarez <alvajus@amazon.com>
@pendo324 pendo324 self-assigned this Sep 19, 2024
@@ -34,6 +34,11 @@ func (fp Finch) BuildkitSocketPath() string {
return filepath.Join(fp.FinchRuntimeDataDir(), "buildkit", "buildkitd.sock")
}

// DockerConfigPath returns the path to the docker config file.
func (fp Finch) DockerConfigPath() string {
Copy link
Contributor

Choose a reason for hiding this comment

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

DockerConfigDir?

Also, should we add a comment here that nerdctl uses ${DOCKER_CONFIG}/config.json for the authentication with image registries.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in latest revision

Signed-off-by: Justin Alvarez <alvajus@amazon.com>
@pendo324 pendo324 requested review from swagatbora90 and removed request for swagatbora90 September 20, 2024 16:12
@pendo324 pendo324 merged commit 5b45b75 into runfinch:main Sep 23, 2024
28 checks passed
pendo324 added a commit to pendo324/finch that referenced this pull request Sep 23, 2024
This reverts commit 5b45b75.

Signed-off-by: Justin Alvarez <alvajus@amazon.com>
pendo324 added a commit that referenced this pull request Sep 23, 2024
Revert "fix(linux): DOCKER_CONFIG path (#1102)"

This reverts commit 5b45b75.

Signed-off-by: Justin Alvarez <alvajus@amazon.com>
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.

2 participants