Hi
As you are resident in the UK, the UK has first rights to tax your world-wide income.
You will need to submit a self assessment tax return, delcaring your foreign income.
You will need to request a certificate of residence, to send to the Portuguese tax authorities, to ensure that they do not tax from your Portuguese earnings, as they are not taxable in Portugal, since you are working remotely from the UK (
How to apply for a certificate of residence to claim tax relief abroad).
Thank you