Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@samuelhnrq
Copy link

Changes the parsing of the -P/--platform flag to consider the last = instead of the first.

Point being = is a valid character for a runs-on definition but it's not for docker images. Splitting the -P flag at the last = should be a good enough heuristic to support equal character while still being backward compatible.

Fixes #4691

Changes the parsing of the -P/--platform flag to consider the last = instead of the first.

Point being = is a valid character for a runs-on definition but its not for docker images. taking the last = should be a good enough heuristic while still being backward compatible.

fixes nektos#4691
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--platform argument doesn't support labels containing equals symbol

1 participant