Skip to content

compose: sanitize value of named contexts for target type - #3361

Merged
crazy-max merged 1 commit into
docker:masterfrom
crazy-max:compose-sanitize-ncontexts
Aug 8, 2025
Merged

crazy-max merged 1 commit into
docker:masterfrom
crazy-max:compose-sanitize-ncontexts

Conversation

@crazy-max

@crazy-max crazy-max commented Aug 8, 2025 •

Copy link
Copy Markdown
Member

fixes #3360

When adding named contexts support to compose in #3080 we forgot to take into account that the name of a compose service allows . while a bake target doesn't, which was fixed in #1011. So do the same here with named contexts.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max added this to the v0.27.0 milestone Aug 8, 2025
@crazy-max
crazy-max marked this pull request as ready for review August 8, 2025 13:07
@crazy-max
crazy-max merged commit 7c43413 into docker:master Aug 8, 2025
@crazy-max
crazy-max deleted the compose-sanitize-ncontexts branch August 8, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bake in v0.23 doesn't support targets with dots

2 participants