GitHub Actions enable you to create custom software development workflows directly in your GitHub repository. If you are already using GitHub as your code repository, built-in CI/CD capabilities make this option very compelling.
In this section, we will cover the GitHub Actions workflow configuration and built-in CI/CD capabilities. You will learn how to manage workflows and create new GitHub Actions.
Getting ready
In the following recipe, you will learn how to create a basic action example in a repository you own by adding a Dockerfile. This recipe requires an active GitHub account with a project to build. We will use AWS EKS to demonstrate CI with GitHub.
How to do it...
This section is further divided into the following subsections to make this process easier:
- Creating a workflow file
- Creating a basic Docker build workflow
- Building and publishing images to Docker Registry
- Adding a workflow status badge
Creating a workflow file
GitHub...