Building Docker container without database connection? #1013
-
I'm a bit confused on why we need to set langfuse/.github/workflows/pipeline.yml Lines 197 to 200 in 37c0737 My team uses Google Cloud Build and we usually don't put secrets into build environments. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Agree, this does not really make sense as none of the secrets are used to build the container. This is a weird fallout of validating environment variables/secrets using https://github.com/t3-oss/t3-env In the meantime you can use fake strings at build time. Here's what we use to build the application in CD: langfuse/.github/workflows/pipeline.yml Lines 150 to 153 in 20d00e5 There is a fix outlined here: t3-oss/t3-env#85 to skip validation at build time. I created an issue for this. |
Beta Was this translation helpful? Give feedback.
-
Just found this thread again. We have fixed this, you no longer need to provide these environments to build the container. (adding this here for reference in case someone finds this thread) |
Beta Was this translation helpful? Give feedback.
Agree, this does not really make sense as none of the secrets are used to build the container. This is a weird fallout of validating environment variables/secrets using https://github.com/t3-oss/t3-env
In the meantime you can use fake strings at build time. Here's what we use to build the application in CD:
langfuse/.github/workflows/pipeline.yml
Lines 150 to 153 in 20d00e5
There is a fix outlined here: t3-oss/t3-env#85 to skip validation at build time. I created an issue for this.