Open Kourchenko opened 3 years ago
Unassigning myself. Solution requires a good bit more work than initially proposed.
This can be done by setting the docker login credentials in the secrets on AWS
https://github.com/Hack4Eugene/SpeedUpAmerica/blob/master/buildspec.yml
This file needs the docker login added before docker build in the build section. You should be able to echo in the AWS vars that you set in codebuild or in your env.
Docker now requires login to authenticate Docker Image requests. The current build process requires that we SSH into any of the existing Production EC2 Instances, and run a command to login to Docker.
Task: Please add an automated command to log in to Docker before the Docker Image is pulled from AWS ECR and so that the build process does not fail during automated builds.