Welcome, and the reason your boyfriend is acting this way is really just because he's an addict. There is really nothing you can do to help unless and until he seeks support for himself and determines to continue in recovery, as frustrating as that is for you.
You could check out AlAnon in your city as a support for you. Be sure to take care of yourself.