-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-entrypoint.sh
More file actions
13 lines (9 loc) · 888 Bytes
/
Copy pathdocker-entrypoint.sh
File metadata and controls
13 lines (9 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
# export GITHUB_CLIRNT_ID=$(aws ssm get-parameters --name ${PARAMETER_STORE_PREFIX}/clientid --query "Parameters[0].Value" --region ap-northeast-1 --output text)
# export GITHUB_SECRETGITHUB_SECRET=$(aws ssm get-parameters --name ${PARAMETER_STORE_PREFIX}/clientsecret --with-decryption --query "Parameters[0].Value" --region ap-northeast-1 --output text)
# env
set -e
export GITHUB_CLIENT_ID=$(aws ssm get-parameters --name /ghlinkcard/github/clientid --query "Parameters[0].Value" --region ap-northeast-1 --output text)
export GITHUB_SECRET=$(aws ssm get-parameters --name /ghlinkcard/github/clientsecret --with-decryption --query "Parameters[0].Value" --region ap-northeast-1 --output text)
export SENTRY_DSN=$(aws ssm get-parameters --name /ghlinkcard/sentry/dsn --with-decryption --query "Parameters[0].Value" --region ap-northeast-1 --output text)
exec "$@"