Closed BastiPaeltz closed 5 years ago
Hey,
the ECR example in the readme currently doesn't work, but it is easy to fix :)
DOCKER_LOGIN=`aws ecr get-login --no-include-email` PASSWORD=`echo $DOCKER_LOGIN | cut -d' ' -f6` REGISTRY=`echo $DOCKER_LOGIN | cut -d' ' -f9 | sed "s/https:\/\///"` DOCKER_USER=AWS DOCKER_PASSWORD=${PASSWORD} ./klar ${REGISTRY}/my-image
This will lead to REGISTRY being empty. To fix just change the line to:
REGISTRY
REGISTRY=`echo $DOCKER_LOGIN | cut -d' ' -f7 | sed "s/https:\/\///"`
@BastiPaeltz feel free to send a PR!
I committed your change, thanks!
Hey,
the ECR example in the readme currently doesn't work, but it is easy to fix :)
This will lead to
REGISTRY
being empty. To fix just change the line to: