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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| access_key_id | The AWS access key id | yes | — |
| secret_access_key | The AWS secret access key | yes | — |
| ecr_registry | The AWS ECR Registry | yes | — |
| repo | Name of your ECR repository | yes | — |
| region | The AWS region | yes | us-east-1 |
| create_repo | Set this to true to create the repository if it does not already exist | no | true |
| create_policy | Set this to true to create the repository if it does not already exist | no | true |
| tags | Comma-separated string of ECR image tags | no | latest |
| scan_images | Set this to true so you allow the repository to scan newly upload images | no | true |
| dockerfile | Name of Dockerfile to use | no | Dockerfile |
| extra_build_args | Extra flags to pass to docker build (see docs.docker.com/engine/reference/commandline/build) | no | "" |
| path | Path to Dockerfile, defaults to the working directory | no | . |
| ecr_policies | Description of the policies and the amount of images to keep. | no | any:5 |
| prebuild_script | Relative path from top-level to script to run before Docker build | no | — |
| behavior | Builds or just upload a previously build image | yes | build |
| image_name | Builds or just upload a previously build image | no | — |
Outputs
| name | description |
|---|---|
| image | The created image name |