diff --git a/docker/edge/entrypoint-edge.sh b/docker/edge/entrypoint-edge.sh index 87357d1..c557d3e 100755 --- a/docker/edge/entrypoint-edge.sh +++ b/docker/edge/entrypoint-edge.sh @@ -64,12 +64,13 @@ if [ -n "${FORGE_PASS:-}" ] && [ -n "${FORGE_URL:-}" ]; then cat > "${HOME}/.git-credentials-helper" </dev/null echo "protocol=${_forge_proto}" echo "host=${_forge_host}" echo "username=${_bot_user}" -echo "password=${FORGE_PASS}" +echo "password=\$FORGE_PASS" CREDEOF chmod 755 "${HOME}/.git-credentials-helper" git config --global credential.helper "${HOME}/.git-credentials-helper" diff --git a/lib/git-creds.sh b/lib/git-creds.sh index 9c5c00a..22243c3 100644 --- a/lib/git-creds.sh +++ b/lib/git-creds.sh @@ -49,6 +49,7 @@ configure_git_creds() { cat > "$helper_path" </dev/null echo "protocol=${forge_proto}" echo "host=${forge_host}" echo "username=${bot_user}" -echo "password=${FORGE_PASS}" +echo "password=\$FORGE_PASS" CREDEOF chmod 755 "$helper_path"