I’m attempting to pass an environment variable to a secondary docker container:
jobs:
run_tests:
docker:
image: circleci/node:10.15
environment:
- DB_NAME: test_$CIRCLE_NODE_INDEX
command: ["sh", "-c", "yarn start"]
parallelism: 10
It seems like the environment variable doesn’t get interpolated. Is there any workaround for this?