3 ms·
You may want to use secrets like this: earthly \ --secret-file config=/home/user/.aws/config \ +build But yes, Earthly optimizes for reproduc
by adamgordonbell 5y ago
You may want to use secrets like this:
earthly \
--secret-file config=/home/user/.aws/config \
+build
But yes, Earthly optimizes for reproducibility, so implicitly pulling in ENVs is not something it does.
- honkycat 5y agoI didn't use secrets because it is a prototype, and I need to explicitly give RUNs access to secret values, and I got sick of the boilerplate.
- andyonthewings 5y agoThe required build arg and env var names are already listed in the Earthfile as `ARG` and `RUN --secret ...`. So I think specifying it in the commandline is redundant.