GitHub Actions: Docker build to AWS ECR and Helm chart deployment to AWS EKS

<p>So, we have a deployed Kubernetes cluster &mdash; see the&nbsp;<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 &mdash; VPCs, Subnets, and Endpoints</a>&nbsp;series.</p> <p>And we have a GitHub Actions workflow to deploy it &mdash; see&nbsp;<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&rsquo;s time to start deploying our backend to Kubernetes.</p> <p>Here we will use GitHub Actions again &mdash; 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&nbsp;<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 &quot;<em>atlas-test</em>&quot; 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>
Tags: GitHub Actions