Describe the solution you'd like
The newest release of the docker/login action allows to set scopes. This might increase security. You should investigate whether its relevant or not.
See https://github.com/docker/login-action/releases/tag/v3.7.0, specifically docker/login-action#912