optiopay / klar

Integration of Clair and Docker Registry
MIT License
506 stars 138 forks source link

Help understanding ECR command #24

Closed mylespollie closed 7 years ago

mylespollie commented 7 years ago

DOCKER_LOGIN=aws ecr get-login 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

What is sed doing here? Is it possible to scan all images in the registry at once instead of just a specific image?