You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the docs I should be able to use shared variables like {{team.VAR}}. However, if I use these in a docker-compose.yaml file like below, they are not substituted:
Maybe I'm misunderstanding where these substitutions can occur? It is not clear at all from the docs.
Minimal Reproduction (if possible, example repository)
Create a Team variable called SENDGRID_API_KEY, reference it in a docker-compose.yaml file and create a resource using the Docker Compose file. Inspect the docker container to see if the environment was set correctly.
It took me quite some time to understand this doesn't work 😓 , that said I think the access should be just env prioritization a la team < project so we can use unaliased ${MYSQL_PASSWORD} in the dockerfile, otherwise the docker images are no longer portable / can't be used locally.
Description
According to the docs I should be able to use shared variables like
{{team.VAR}}
. However, if I use these in adocker-compose.yaml
file like below, they are not substituted:Discussion started here with no response: https://discord.com/channels/459365938081431553/1228241023487184907/1228241023487184907
Maybe I'm misunderstanding where these substitutions can occur? It is not clear at all from the docs.
Minimal Reproduction (if possible, example repository)
Create a Team variable called
SENDGRID_API_KEY
, reference it in adocker-compose.yaml
file and create a resource using the Docker Compose file. Inspect the docker container to see if the environment was set correctly.The
docker inspect
command shows this:Exception or Error
No response
Version
v4.0.0-beta.276
The text was updated successfully, but these errors were encountered: