proud-river-11384
08/24/2023, 11:49 AMbuildArgs: {
GITHUB_API_USER: username,
GITHUB_API_KEY: api_key
}
None of the combinations I'm trying work, eg:
buildArgs:
- GITHUB_API_USER: ${local.env.GITHUB_API_USER}
- GITHUB_API_KEY: ${local.env.GITHUB_API_KEY}
this results in the error:
Error validating spec for Build type=container name=policies: key .buildArgs must be of type object. Available keys: localId, publishId, targetStage, buildArgs, extraFlags, dockerfile, hotReload)
I'm not sure how I create an object that can be passed to buildargs using local env vars?quaint-dress-831
08/24/2023, 12:57 PMyaml
buildArgs:
GITHUB_API_USER: ${local.env.GITHUB_API_USER}
GITHUB_API_KEY: ${local.env.GITHUB_API_KEY}
quaint-dress-831
08/24/2023, 1:07 PM