Search code examples
amazon-web-servicesdockergithub-actionscicdamazon-ecr

Error while pulling docker image from ECR to EC2 using github actions


From main.yaml the docker pull command is executed in continoud deployment phase but it throws an error. This was the error: Error response from daemon: repository ***/*** not found: name unknown: The repository with name '***/***' does not exist in the registry with id '***'

(https://i.sstatic.net/frDre.png)


Solution

  • From AWS ECR copy the URI (Universal resource locator) without the registry name.