GitHub Actions: Docker build to AWS ECR and Helm chart deployment to AWS EKS
<p>So, we have a deployed Kubernetes cluster — see the <a href="https://rtfm.co.ua/terraform-stvorennya-eks-chastina-1-vpc-subnets-ta-endpoints/" rel="noopener ugc nofollow" target="_blank">Terraform: Creating EKS, Part 1 — VPCs, Subnets, and Endpoints</a> series.</p>
<p>And we have a GitHub Actions workflow to deploy it — see <a href="https://rtfm.co.ua/github-actions-deploj-dev-prod-otochen-z-terraform/" rel="noopener ugc nofollow" target="_blank">GitHub Actions: Deploying Dev/Prod environments with Terraform</a>.</p>
<p>It’s time to start deploying our backend to Kubernetes.</p>
<p>Here we will use GitHub Actions again — we will build a Docker image with our Backend API service, store it in AWS Elastic Container Service, and then deploy a Helm chart to which we will pass a new Docker Tag in <code>values</code>.</p>
<p>For now, we have only one working environment, Dev, but later we will add Staging and Production. In addition, we need to be able to deploy a feature environment to the same Dev EKS, but with custom values for some variables.</p>
<p>However, we will now do it in the test repository "<em>atlas-test</em>" and with the test Helm chart.</p>
<p><a href="https://itnext.io/github-actions-docker-build-to-aws-ecr-and-helm-chart-deployment-to-aws-eks-f1498959d5e1"><strong>Click Here</strong></a></p>