greptimedb icon indicating copy to clipboard operation
greptimedb copied to clipboard

ci: add the github actions of pushing image to aws public ecr

Open daviderli614 opened this issue 8 months ago • 5 comments

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.

daviderli614 avatar Jun 25 '24 16:06 daviderli614