mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-10 04:37:23 +01:00
Fix reading docker secrets token
This commit is contained in:
parent
5474bb842d
commit
93822d930c
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user