traefik/entrypoint.sh.tmpl
Gabriel Schubiner e65bffe337
Some checks failed
continuous-integration/drone/pr Build is failing
Update to handle gandiv5 personal access tokens
2024-10-03 19:40:34 -04:00

15 lines
316 B
Bash

#!/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 }}
{{ if eq (env "DIGITALOCEAN_ENABLED") "1" }}
export DO_AUTH_TOKEN=$(cat "$DO_AUTH_TOKEN_FILE")
{{ end }}
/entrypoint.sh "$@"