I'm retiring this month with a COBRA Highly deductible plan. Can I still contribute to an HSA ?

 

I'm retiring this month with a COBRA Highly deductible plan. Can I still contribute to an HSA and get deductions next tax year? Of course I understand any contributes would have to be within the IRA limit for HSA contributions. Will I get a tax deduction for the after tax contributions?