Docker push : error from registry: unauthorized

Hello,

I’ve just installed Gitea on my server, and I am unable to publish docker images on it.

  1. I did docker login {myserver}
  2. docker tag {username}/{myimage} {myserver}/{username}/{myimage}
  3. docker push

I got the following error : error from registry: unauthorized

Is there some configuration to do, to accept docker images to be pushed on a gitea instance?

Thanks a lot