Hi Csanád Tabajdi,
Thank you for reaching out to the Microsoft Q&A platform.
I’m sorry to hear about the accidental deletion. Unfortunately, once a container registry is deleted it cannot be recovered directly.
If you had enabled the soft delete policy for your Azure Container Registry, you might be able to recover the deleted artifacts. The soft delete policy allows you to restore deleted artifacts within a set retention period.
The default retention period for soft deleted artifacts is seven days, but it’s possible to set the retention period value between one to 90 days. You can set, update, and change the retention policy value. The soft deleted artifacts expire once the retention period is complete.
PFA,
Please find the below document for your reference:
Recover deleted artifacts with soft delete policy in Azure Container Registry
If an answer has been helpful, please consider Accept Answer and "Upvote" to help increase visibility of this question for other members of the Microsoft Q&A community.
Thank you.