Depends on defintion... It's definitly a community coming together to agree to pool resources toward common ends. Maybe a definition of socialism is when the task or expenditure is valuing the aggregate and not the invididual benefit from a investment. Maybe all investments that are worthwhile to all investors (we can look at paying taxes as an investement) then that is capitalistic but any taxation in which the indivudal would prefer to opt out in both paying it and reaping the benefit of the taxation as socialist.
Your definitely socializing for common good, but you may be promoting common good because it also happens to be how best to spend to promote your own good.