Hi,
You will pay tax in the country that you are considered tax resident, see guidance at
Tax on your UK income if you live abroad
In general if you are moving permanently to Greece, and aren’t posted from the UK, then you will not be eligible for an A1 and will be liable to pay Social Security in Greece.
You should contact the Greek authorities for advise on how to pay.
In order for us to access your circumstances completely you will need to send the CA3821 with regards to your employer and the CA3822 if you will only be working in Greece or the CA8421 if you will be working in 2 or more countries.
Thank you.