Possible to escape working directory with cwd://
for remote plaintext Bake definitions
#2697
Open
3 tasks done
Labels
Contributing guidelines
I've found a bug and checked that ...
Description
Bake should error out if you try to escape the current working directory in a remote Bake definition. This validation only occurs for remote Bake files in Git. For remote plaintext files, no validation occurs.
Expected behaviour
ERROR: path /private/tmp is outside of the working directory, please set BAKE_ALLOW_REMOTE_FS_ACCESS=1
Actual behaviour
It copies the files fine.
Buildx version
github.com/docker/buildx 056cf8a 056cf8a
Docker info
No response
Builders list
Configuration
The text was updated successfully, but these errors were encountered: