headout/ECR Image Syncer Action
Checks if the given image exists in ECR, and if not builds and pushes to ECR registry
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| aws-access-id | AWS access ID | yes | — |
| aws-secret-key | AWS Secret key | yes | — |
| aws-region | AWS Region | no | "" |
| aws-ecr-registry | ECR Registry ID | no | — |
| image-repo | Repository of Target image | yes | — |
| image-tag | Tag of Target image | yes | — |
| pre-build-command | Bash command to run before docker build | no | — |
| dockerfile | Path to Dockerfile to build | no | Dockerfile |
| docker-build-args | Args to use for docker build | no | — |
| image-cache | Image cache to use when building | no | — |
| do-update-cache | Whether action should update the image cache after build | no | false |
| cache-registry | Registry to use when updating the cache | no | — |
| cache-registry-username | Username to login docker to cache-registry | no | — |
| cache-registry-password | Password to login docker to cache-registry | no | — |
Outputs
| name | description |
|---|---|
| found | Whether given image was found in ECR (true/false) |
| registry | AWS ECR registry used to push the image |
| image | Full name of image that is found/built |