Skip to content

buildflags: skip empty cache entries when parsing#3021

Merged
crazy-max merged 1 commit intodocker:masterfrom
jsternberg:empty-cache-to-override
Feb 25, 2025
Merged

buildflags: skip empty cache entries when parsing#3021
crazy-max merged 1 commit intodocker:masterfrom
jsternberg:empty-cache-to-override

Conversation

@jsternberg
Copy link
Collaborator

Broken in 11c8497. The section to skip
an empty input was accidentally removed when some code was refactored to
fix a separate issue.

This skips empty cache entries which allows disabling the cache-from and
cache-to entries from the command line overrides.

Fixes #3020.

Broken in 11c8497. The section to skip
an empty input was accidentally removed when some code was refactored to
fix a separate issue.

This skips empty cache entries which allows disabling the `cache-from` and
`cache-to` entries from the command line overrides.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
@crazy-max crazy-max added this to the v0.21.2 milestone Feb 25, 2025
@crazy-max crazy-max merged commit f727620 into docker:master Feb 25, 2025
131 checks passed
@jsternberg jsternberg deleted the empty-cache-to-override branch February 25, 2025 16:46
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.

Regression: Using --set *.cache.to=

2 participants