Fix reading docker secrets token

This commit is contained in:
Sandro Jäckel 2020-09-26 13:53:48 +02:00
parent 5474bb842d
commit 93822d930c
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ if [[ -f /run/secrets/username ]]; then
USERNAME=$(cat /run/secrets/username) USERNAME=$(cat /run/secrets/username)
fi fi
if [[ -f /run/secrets/username ]]; then if [[ -f /run/secrets/token ]]; then
TOKEN=$(cat /run/secrets/token) TOKEN=$(cat /run/secrets/token)
fi fi

View File

@ -5,7 +5,7 @@ if [[ -f /run/secrets/username ]]; then
USERNAME=$(cat /run/secrets/username) USERNAME=$(cat /run/secrets/username)
fi fi
if [[ -f /run/secrets/username ]]; then if [[ -f /run/secrets/token ]]; then
TOKEN=$(cat /run/secrets/token) TOKEN=$(cat /run/secrets/token)
fi fi

View File

@ -5,7 +5,7 @@ if [[ -f /run/secrets/username ]]; then
USERNAME=$(cat /run/secrets/username) USERNAME=$(cat /run/secrets/username)
fi fi
if [[ -f /run/secrets/username ]]; then if [[ -f /run/secrets/token ]]; then
TOKEN=$(cat /run/secrets/token) TOKEN=$(cat /run/secrets/token)
fi fi