Skip to content

bake: preserve empty compose cache lists#3852

Merged
tonistiigi merged 1 commit into
docker:masterfrom
tonistiigi:compose-empty-array-fix
May 19, 2026
Merged

bake: preserve empty compose cache lists#3852
tonistiigi merged 1 commit into
docker:masterfrom
tonistiigi:compose-empty-array-fix

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

ref #3849

Workaround for regression in compose-go.

Normalize filtered Compose models before schema validation so empty YAML lists remain arrays through compose-go's JSON validation round trip.

Workaround for regression in compose-go.

Normalize filtered Compose models before schema validation so empty YAML
lists remain arrays through compose-go's JSON validation round trip.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@crazy-max
Copy link
Copy Markdown
Member

crazy-max commented May 19, 2026

looks good for patch release while waiting for compose-go release with the fix compose-spec/compose-go#873

@tonistiigi tonistiigi marked this pull request as ready for review May 19, 2026 15:09
@tonistiigi tonistiigi merged commit b72d248 into docker:master May 19, 2026
161 checks passed
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.

2 participants