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: 1 comment 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.
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.