As someone who has been in both industries (defense and gambling), be honest with the product. Tech can be nice and it has interesting challenges but if your growth is outside the tech, then you are going to struggle.
But there are also big problems in social media companies. Would they harm your CV? The dark patterns in these might be even bigger problem than in gambling. The audience is much larger.