In the Build Secrets doc, it mentions in both the Dockerfile and deploy command that it is possible to mount and pass multiple build secrets:
# Note: You can mount multiple secrets
RUN --mount=type=secret,id=MY_SUPER_SECRET \
MY_SUPER_SECRET="$(cat /run/secrets/MY_SUPER_SECRET)" some_command \
&& more_commands_maybe
# Note: You can pass multiple secrets if you need
fly deploy \
--build-secret MY_SUPER_SECRET=some_value
It's not clear what the syntax should be for passing multiple secrets. Could an example be shown for multiple secrets, please?
In the Build Secrets doc, it mentions in both the Dockerfile and deploy command that it is possible to mount and pass multiple build secrets:
It's not clear what the syntax should be for passing multiple secrets. Could an example be shown for multiple secrets, please?