Change kubeschool/name_of_your_image to whatever you want
#### Login to AWS aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin 37#########79.dkr.ecr.us-east-2.amazonaws.com #### Create the container repository aws ecr create-repository \ --region us-east-2 \ --repository-name kubeschool/name_of_your_image \ #### Build the Docker Image for amd64 docker buildx build --platform linux/amd64 --pull --no-cache --rm -f "Dockerfile" -t name_of_your_image:latest "." #### Tag the Docker Image to upload to registry docker tag name_of_your_image:latest 37#########79.dkr.ecr.us-east-2.amazonaws.com/kubeschool/name_of_your_image #### Push the image to the registry docker push 37#########79.dkr.ecr.us-east-2.amazonaws.com/kubeschool/name_of_your_image:latest