greptimedb
greptimedb copied to clipboard
ci: add the github actions of pushing image to aws public ecr
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
Same as this: https://github.com/GreptimeTeam/greptimedb-operator/pull/155
What's changed and what's your intention?
Add push image to aws container image registry.
Need to add two repositoriy variables:
aws-image-registry
: public.ecr.aws/i8k6a5e1
AWS_ECR_REGION
: us-east-1
Checklist
- [ ] I have written the necessary rustdoc comments.
- [ ] I have added the necessary unit tests and integration tests.
- [ ] This PR requires documentation updates.
Summary by CodeRabbit
-
New Features
- Added functionality to push Docker images to AWS ECR in addition to DockerHub.
- Introduced new job
release-images-to-ecr
for building and pushing images to AWS ECR.
-
Chores
- Updated workflows to include AWS credentials and ECR configuration.
- Added AWS-related variables and input parameters across multiple workflow files.
-
Documentation
- Enhanced notification logic to reflect the results of image releases to both DockerHub and AWS ECR.