AWS ECR
Introduction
Create an Earthfile
FROM alpine:3.18
build:
RUN echo "Hello from Earthly!" > motd
ENTRYPOINT cat motd
SAVE IMAGE --push <aws_account_id>.dkr.ecr.<region>.amazonaws.com/hello-earthly:with-loveInstall and Configure the ECR Credential Helper
{
"credHelpers": {
"<aws_account_id>.dkr.ecr.<region>.amazonaws.com": "ecr-login"
}
}
IAM
Run the Target
Pulling Images
Troubleshooting
Basic Credentials Not Found
401 Unauthorized
Last updated