- Simple knowledge github action
- basic knowledge of ECR and ECS
- basic knowledge of sonar cloud
- aws cli
- press on the actions and set up a workflow yourself
- start to write you github action file
- create an aws user with full access to the ECR and ECS
- save the public and secret access keys in the repo secret
- I used full access for the sake of simplicity
- put your AWS account id in the repo secret as well
- create sonar cloud account and then create a new organization
- create a new project
- save the key of the organization in the repo secret
- create a new token and save it in the repo secret
- save the key of the project in the repo secret
- save the sonar cloud URL in the repo secret as well, I mean this URL "https://sonarcloud.io"
- note: write the name and key of the organization and project the same for the sake of simplicity
- create RDS using the AWS console
- store the credentials in the repo secret to use them later
- store the name and password and the endpoint in the repo secret
- create ECR
- store the endpoint of the repo in the repo secret
- store the name of the repo in the repo secret