# Fly Secrets not populated during build

**URL:** <https://community.fly.io/t/fly-secrets-not-populated-during-build/659>\
**Category:** General\
**Created:** [January 29, 2021, 10:39am UTC](https://community.fly.io/t/fly-secrets-not-populated-during-build/659 "2021-01-29T10:39:02Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![kingofburden](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/kingofburden/32/7679_2.png) [@kingofburden](https://community.fly.io/u/kingofburden)\
**Post date:** [December 7, 2022, 6:38pm UTC](https://community.fly.io/t/fly-secrets-not-populated-during-build/659/18 "2022-12-07T18:38:14Z")

</div>

the working topic example where I answered

> [@Deployment failing in github actions, unable to pass env to deploy command](https://community.fly.io/t/deployment-failing-in-github-actions-unable-to-pass-env-to-deploy-command/6099/6):
>
> An example of React app build with Dockerfile nginx and flyctl github actions Dockerfile FROM node:17-alpine as build WORKDIR /app ARG REACT\_APP\_SUPABASE\_URL ARG REACT\_APP\_SUPABASE\_ANON\_KEY ARG REACT\_APP\_BACKEND\_URL ENV REACT\_APP\_SUPABASE\_URL=$REACT\_APP\_SUPABASE\_URL ENV REACT\_APP\_SUPABASE\_ANON\_KEY=$REACT\_APP\_SUPABASE\_ANON\_KEY ENV REACT\_APP\_BACKEND\_URL=$REACT\_APP\_BACKEND\_URL ARG NODE\_ENV=production RUN echo ${NODE\_ENV} COPY package\*.json ./ RUN npm install COPY . . RUN npm run build FROM …

---

_[View the full topic](https://community.fly.io/t/fly-secrets-not-populated-during-build/659)._
