<#19098 docker_image secrets doesn't expanduser> I...
# github-notifications
c
#19098 docker_image secrets doesn't expanduser Issue created by idan-at Describe the bug When defining secrets on a
docker_image
target, paths starting with
~
are not respected. For example:
Copy code
docker_image(
  secrets={
    mysecret="~/.secret"
  }
)
Leads to an error:
ERROR: failed to stat <pwd>/~/.secret: stat <pwd>/~/.secret: no such file or directory
. Pants version 2.15.0 OS MacOS pantsbuild/pants