If you're also about to migrate from Container Registry into Artifact Registry and has to adapt your Github Actions pipelines to do so, the migration itself is very simple
steps:
...
- id: 'auth'
uses: 'google-github-actions/auth@v1'
with:
# if you're using a .json for a service account
credentials_json: '${{ secrets.your-service-account-json }}'