Closed crgarcia12 closed 1 month ago
@vhvb1989 This should work right?
@vhvb1989 This should work right?
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.
@wbreza FYI
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: