smu-chile/AWS ECR IMAGE UPLOAD WITH REPO AND POLICY

Create Docker images and push into a ECR repository. It can create it and attach a policy to store a max amount

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
access_key_idThe AWS access key idyes
secret_access_keyThe AWS secret access keyyes
ecr_registryThe AWS ECR Registryyes
repoName of your ECR repositoryyes
regionThe AWS regionyesus-east-1
create_repoSet this to true to create the repository if it does not already existnotrue
create_policySet this to true to create the repository if it does not already existnotrue
tagsComma-separated string of ECR image tagsnolatest
scan_imagesSet this to true so you allow the repository to scan newly upload imagesnotrue
dockerfileName of Dockerfile to usenoDockerfile
extra_build_argsExtra flags to pass to docker build (see docs.docker.com/engine/reference/commandline/build)no""
pathPath to Dockerfile, defaults to the working directoryno.
ecr_policiesDescription of the policies and the amount of images to keep.noany:5
prebuild_scriptRelative path from top-level to script to run before Docker buildno
behaviorBuilds or just upload a previously build imageyesbuild
image_nameBuilds or just upload a previously build imageno
namedescription
imageThe created image name