diff --git a/dist/scripts/src/fetch-secrets.sh b/dist/scripts/src/fetch-secrets.sh index 0042696..017314d 100755 --- a/dist/scripts/src/fetch-secrets.sh +++ b/dist/scripts/src/fetch-secrets.sh @@ -46,7 +46,7 @@ main() { # If filename is specified in json, use it; otherwise, use the local_secret as the filename if [[ -n "${filename}" && "${filename}" != "null" ]]; then - output_file="${filename}" + output_file="${secrets_dir}/${filename}" fi if [[ -z "${env}" ]]; then