Skip to content

Perform Copy container image to an ECR repository based on the go-containerregistry

License

Notifications You must be signed in to change notification settings

ekirmayer/aws-lambda-copy-container-image-to-ecr

Repository files navigation

aws-lambda-copy-container-image-to-ecr

Copy container image to an ECR repository based on the go-containerregistry library

Vulnerabilities Security Rating Technical Debt

Test

docker run -it --rm -v ~/.aws:/.aws -e AWS_DEFAULT_PROFILE=dev -p 9100:8080 \
        --entrypoint /usr/local/bin/aws-lambda-rie \
        docker-image:test ./main
curl --location --request GET 'http://localhost:9100/2015-03-31/functions/function/invocations' \
--header 'Content-Type: application/json' \
--data '{
    "body": "{\"src\":\"busybox:uclibc\",\"dest\":\"835389108797.dkr.ecr.eu-central-1.amazonaws.com/nginx:0.3\"}"
}'

TO DO

  • Add AWS IaC

About

Perform Copy container image to an ECR repository based on the go-containerregistry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •