jppol-idp/deploy-ecr
Publishes a docker image to ECR and creating the repository if non-existing.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jan 28, 2025
- License
- MIT
Pinned Snippet
uses: jppol-idp/build-and-push-ecr@9eb89eaef8562db887a975abb6aa188d086aaa14 # v2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| image_name | The image name. Will be appended to namespace. | yes | — |
| image_tag | A tag value to set | yes | — |
| docker_folder | When building the action will step into this folder and run a docker build command. | no | . |
| namespace | The namespace or prefix to use. Final image name will be a composite of this and the image name joined by a slash. | yes | — |
| ecr_account_id | The account id to push to. For internal use at jppol default value should be used. | no | 354918371398 |
| aws_region | For internal use at jppol default value should be used. | no | eu-west-1 |
| run_build | Set to false if you want to run the docker build your self. In this case the image must be tagged correctly as ACCOUNT_ID.dkr.ecr.REGION.amazonaws.com/NAMESPACE/IMAGE_NAME:IMAGE_TAG | — | true |
| run_push | If set to false, nothing is pushed. If you need to tag your image correct given inputs, you can run this action but both run_build and run_push set to false and use the fully_qualified_name output to tag before using action again. | — | true |
Outputs
| name | description |
|---|---|
| fully_qualified_name | — |