Update entrypoint.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Félix MARQUET
2025-06-24 14:24:12 +02:00
committed by GitHub
parent c2a86cb9d4
commit be9d7299cd

View File

@@ -3,7 +3,7 @@
# Check if USERNAME and PASSWORD environment variables are defined
if [ -n "$USERNAME" ] && [ -n "$PASSWORD" ]; then
# Generate auth.txt file content from environment variables
echo -n "$USERNAME:$PASSWORD" | base64 > /auth.txt
echo -n "$USERNAME:$PASSWORD" > /auth.txt
echo "Authentication file generated from environment variables"
else
echo "USERNAME and/or PASSWORD variables not defined"