diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index d0fdb83..942d8bc 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -55,8 +55,7 @@ if [ -n "$GITIT_REMOTE_REPOSITORY" ]; then mkdir -p /root/.ssh cat > /root/.ssh/config <<-MARK - Host github.com - User git + Host $GITIT_REMOTE_DOMAIN IdentityFile /data/ssh/mirror_rsa MARK chmod 600 /root/.ssh/config