Repository navigation
ci: Gate Bake filesystem workaround on affected Compose versions - #1332
Merged
Merged
Conversation
Set BUILDX_BAKE_ENTITLEMENTS_FS=0 for Compose 2.38.2 and 5.6.0 in the affected CI jobs. Leave other versions and installed tools unchanged. This minimal alternative to #1330 and #1331 avoids probes or downloads and explicitly warns about disabled filesystem and SSH-agent consent checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Christof Marti (chrmarti)
marked this pull request as ready for review
October 21, 2026 06:27
Abdurrahmaan Iqbal (abdurriq)
approved these changes
Oct 21, 2026
Christof Marti (chrmarti)
added a commit
that referenced
this pull request
Oct 22, 2026
Cover all stable 2.38.x and 5.6.x releases, including the Go security update in Compose 5.6.1 that still lacks the external-Dockerfile fix. Preserve other minor versions and prerelease/development builds. Follow-up to #1332 to unblock CI on #1329. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Minimal alternative to #1330 (build fixed Compose) and #1331 (probe then downgrade Buildx). This independent branch starts from
main; both other PRs remain unchanged.docker compose version --shortand setBUILDX_BAKE_ENTITLEMENTS_FS=0throughGITHUB_ENVonly for exact versions 2.38.2 (Linux matrix runner) and 5.6.0 (Docker 29 job), accepting an optional leadingv.Related to #1320 and the upstream fix in docker/compose#14325.
Trade-off
The flag disables Bake filesystem read/write approval and default SSH-agent consent checks in the affected processes. The action emits a warning when setting it. It does not disable the other Bake consent checks (host networking, insecure execution, devices, or stale-output deletion) and retains current Buildx and its other fixes.
This is limited to our GitHub-hosted test jobs, which already run the checked-out code directly with Docker access. It is not intended as a general recommendation for developer machines or secret-bearing/self-hosted jobs.
An exact-version guard intentionally does not assume a first fixed release: later versions do not get the override, even if the upstream fix has not shipped yet. Remove the workaround once affected runners ship working Compose.
Validation
npm run compileandnpm run precommitpassed.v, nearby and future versions, prerelease/development versions, and version-command failure. Verified existing environment entries are preserved and the shared action immediately precedes test execution.cli.upsuites passed 21 tests.