Not able to pull image from registry.gitlab.com (AWS EB)

Hey guys!
First of all thank you all for your time.

I’m currently trying to deploy my docker container to AWS Beanstalk. I provided my .docker/config.json with registry.gitlab.com credentials to AWS BT but every time I’m getting:

Get https://registry.gitlab.com/v2/*****/api/manifests/latest: denied: access forbidden.

I tried with gitlab credentials, personal token and deploy token - no difference

Do you have any ideas?

Found the issue myself, AWS BT is supporting only old format of docker config json

Hello
I have trouble to set up my own AWS EB config to pull an image from gitlab registry. Could you put an example of what you did ?