Automating the deployment
In this section, we’ll look at how we can automate the deployment process for container-based architectures. We’ll employ similar techniques we saw in Chapter 8 when we took this same journey down the Amazon. As a result, we’ll focus on what changes we need to make when we want to deploy to Microsoft Azure and the Azure Kubernetes Service.
Docker
In Chapter 8, we covered each step of the GitHub Actions workflow that causes Docker to build, tag, and push our Docker container images. Thanks to the nature of Docker’s cloud-agnostic architecture, this overwhelmingly stays the same.
The only thing that changes is that Google Cloud encapsulates a service account’s credentials into a JSON file that is downloaded from the Google Cloud console rather than a secret string like on AWS or Azure. As a result, much of the Google Cloud tooling is set up to look for this file at a specific path location.
Therefore, we need to...