This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2021-06-10 10:36:54 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
{{ if eq (env "OVH_ENABLED") "1" }}
|
|
|
|
export OVH_CONSUMER_KEY=$(cat "$OVH_CONSUMER_KEY_FILE")
|
|
|
|
export OVH_APPLICATION_SECRET=$(cat "$OVH_APPLICATION_SECRET_FILE")
|
|
|
|
{{ end }}
|
|
|
|
|
2021-06-19 00:47:25 +00:00
|
|
|
{{ if eq (env "GANDI_ENABLED") "1" }}
|
|
|
|
export GANDIV5_API_KEY=$(cat "$GANDIV5_API_KEY_FILE")
|
|
|
|
{{ end }}
|
|
|
|
|
2021-06-10 10:36:54 +00:00
|
|
|
/entrypoint.sh "$@"
|