Skip to content

build: fixup resolvePaths for remote context path#1701

Merged
jedevc merged 1 commit intodocker:masterfrom
jedevc:fixup-resolve-paths-context-path
Mar 29, 2023
Merged

build: fixup resolvePaths for remote context path#1701
jedevc merged 1 commit intodocker:masterfrom
jedevc:fixup-resolve-paths-context-path

Conversation

@jedevc
Copy link
Copy Markdown
Collaborator

@jedevc jedevc commented Mar 28, 2023

Fixes a regression introduced in #1581 - the context path can be a URL, which would not work when using the controller path.

This fixes the detection to not resolve the path to the current working directory if it's a URL, similar to the logic for named contexts.

@jedevc jedevc requested review from crazy-max and ktock March 28, 2023 15:13
@jedevc jedevc force-pushed the fixup-resolve-paths-context-path branch from f7b22ee to b5c6b3f Compare March 29, 2023 09:10
@jedevc jedevc requested a review from crazy-max March 29, 2023 09:10
@jedevc jedevc merged commit 799715e into docker:master Mar 29, 2023
@jedevc jedevc mentioned this pull request Apr 12, 2023
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