Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-stress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ jobs:
buildkitd-flags: --debug

- name: Build with bake
uses: docker/bake-action@v4
uses: docker/bake-action@v7
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing source input breaks dynamically generated bake file

High Severity

Bumping docker/bake-action from v4 to v7 introduces a breaking change: v6+ defaults to Git context instead of local path context. The docker-bake.hcl file is dynamically created in a preceding run step and doesn't exist in the repository. With Git context, BuildKit clones from the Git reference and ignores local file mutations, so the generated file won't be found and the build will fail. Adding source: . to the with: block is needed to restore local path context behavior.

Additional Locations (1)
Fix in Cursor Fix in Web

with:
targets: |
default
Expand Down
Loading