You're just creating more problems. If the first battery didn't last a new one won't either. Either the charging system or method is bad or the battery design is bad.
Purchase a tire inflator that is as simple as possible and is powered from the good old 12-Volt cigarette lighter.
Purchase a generic 12V battery charger from your local auto parts place, preferably with a cigarette lighter socket.
Purchase a cigarette lighter adapter similar to the below item to connect a female cigarette lighter to the battery. Make sure to use a fuse... Never connect a male cigarette lighter connector to a battery, especially without a fuse...
https://www.amazon.com/SPARKING-Cigarett...
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
1