ReferenceEnv var references
References in a build
A build also gets the resolved values. Ferry leaves out a reference that it cannot resolve yet.
==> Warning: not available at build time (unresolved references): API_URL (…)The variables of a service also go to the build, as BuildKit secrets. The build gets the resolved values.
If a reference cannot resolve at the build
For example, the reference points at a service that has no deploy yet.
- Ferry leaves the variable out of the build.
- The deploy log tells you, as in the example above.
- The container gets the variable later, when the reference resolves.
See Secrets in a build.