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
Describe the bug
If you have a Static App (like React) and a backend api in ACA, it would be nice if we could take the output of the infra deployment (the url) and pass it as buildArgs in the dockerfile:
# deploy infra and populate outputs as environment variables
azd provision --environment dev
# utilize environment variables to interpolate the azure.yaml
azd deploy
The text was updated successfully, but these errors were encountered:
No. build-args don't support references to env values. This is a feature request (which is not that hard). The only thing to consider is security, as you will want to use --secret instead of --build-arg when referencing a secret from the system environment.
Describe the bug
If you have a Static App (like React) and a backend api in ACA, it would be nice if we could take the output of the infra deployment (the url) and pass it as
buildArgs
in the dockerfile:For example:
The text was updated successfully, but these errors were encountered: