Buil docker with environment variables
Hi,
I try to build a docker from github repo:https://github.com/weaviate/multi2vec-clip-inference. And I setup env variables but I have the error:
2025-03-31 18:51:46 [INFO] > [8/9] RUN ./download.py:
2025-03-31 18:51:46 [INFO] 2.112 ERROR:root:Fatal: TEXT_MODEL_NAME is required
How can I enable env variables at build?
Thanks,

20 Replies
You can write them inside your Dockerfile for a quick fix, I remember Runpod had this on their roadmap like couple months ago
Yeah we're stuck because of this as well. Unfortunately we need to add HF api keys to download the models and writing this in the dockerfile is not an option!
Your only option is building the docker image, pushing to dockerhub, and pulling from there
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Try github actions with their secrets feature.
How could this works ?
We don't have any access to the Github Actions workflows, we can't set up the .env variables in the workflows
I hope, this is a must, I'm sure a lot of people are waiting for this
In github actions you can get the api keys from the github secrets where you can store them securely (they do not appear on your repository)
Yes, but with the current Runpods configuration, we don't have access to the Github actions worflows, it is on Runpods side
Lol
I meant not to use runpod for the image building process until they release that feature
@PRB Still no ETA on the env variables for github deployment?
I think this came out recently? Let me check
I know I've seen it.
@Thierry 😄

Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
@Dj not popping out on my interface
:blobextranervous:
Let me make sure this isn't feature flagged or something and I didn't just casually leak this
Whoops 😄

lol
@Eren Okay so I asked, I can give you this feature and work on getting it released. DM me the email on your RunPod account
@Jason Do you want it as well?
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View