> NATO continued to expand right up to Russia's doorstep
NATO was literally founded on the USSR's border ("Russia", as a top-level sovereign, did not exist), it had nothing to "expand up to", on either the Eastern or Western side.
> despite repeated promises not to
Assuming any such promises were made (which only one dubious alleged instance is ever pointed to, so hardly "repeatedly" in even the best case), they were personal guarantees between individual leaders of the USA and USSR, not durable binding commitments (note the absence of a treaty, executive agreement, public document or even mere joint contemporaneous oral statement of any kind) binding governments to their terms beyond the term of individual officials and heritable after the fall of one of the involved states by some successor regime.
And even had such an undocumented commitment existed and had validity, it was implicitly nullified by Russia's attempts to join NATO.
> Whether or not this is "NATOs fault", it's clear that the Ukraine invasion was motivated, in part, by NATO expansion.
It's not clear at all that it was. For one thing, Georgia was invaded immediately after NATO complied with the Russian request in 2008 not to extend Membership Action Plans to Georgia and Ukraine, and Ukraine subsequently abandoned efforts to join NATO until after Russia invaded and purported to annex much of the country in 2014. The Russian invasion of Ukraine has been the cause of, rather than a response to, recent NATO expansion.