Skip to content

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Jan 6, 2026

No description provided.

The resolve() function was incorrectly using the original input instead of the resolved alias path when creating OCI sources. This caused aliases pointing to OCI references (e.g., 'default' -> 'docker/gordon') to fail.

Changes:

- Use resolvedPath instead of original input in Resolve() and ResolveSources()

- Skip filepath.Abs() for OCI references and URLs in resolve()

- Add tests for alias override with both local files and OCI references

Assisted-By: cagent
@dgageot dgageot requested a review from a team as a code owner January 6, 2026 18:29
@dgageot dgageot merged commit 3533a04 into docker:main Jan 7, 2026
5 checks passed
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