brainy-agency-51265
09/07/2023, 12:13 PM[docker]
env_vars = [
"DOCKER_CONFIG=/full/path/to/config/docker"
]
When i tried to use relative path (e.g. I am in my project root where pants.toml is located) and theres file config file in docker folder as docker/config.json
,
I would probably expect it to work like this:
[docker]
env_vars = [
"DOCKER_CONFIG=docker"
]
but I get auth error.
Is there a way this is evaluated and how to use this? I noticed there was an example with %(homedir)s
in the docs but didn’t make that working either.
How is the value evaluated?happy-kitchen-89482
09/08/2023, 5:39 AMcurved-television-6568
09/08/2023, 2:00 PMDOCKER_CONFIG
working with a relative path outside of pants, it should work the same when using pants.