Hands-on GitHub Actions: Implement CI/CD with GitHub Action Workflows for Your Applications

  • 1h 5m
  • Chaminda Chandrasekara, Pushpa Herath
  • Apress
  • 2021

Implement continuous integration/continuous delivery (CI/CD) workflows for any application you develop through GitHub Actions. This book will give you an in-depth idea of implementation patterns, solutions for different technology builds, guidelines to implement your own custom components as actions, and usage of features available with GitHub Actions workflows, to set up CI/CD for your repositories.

Hands-on GitHub Actions starts with an introduction to GitHub actions that gives an overview on CI/CD followed by an introduction to its workflows. Next, you will learn how to use variables in a GitHub workflow along with tokens via a REST API. Further, you will explore artifacts and caching dependencies in GitHub and use artifacts in subsequent jobs. Using self-hosted runners is discussed next where you will set up your own hardware and software to run GitHub actions. You will go through publishing packages and migrate to Azure DevOps Pipelines. Along the way, you will use Redis service and PostgreSQL service containers and create custom actions. Finally, you will work with GitHub apps and understand the syntax reference for GitHub Actions and workflows.

You will:

  • Create workflows for any platform and any language with GitHub Actions
  • Develop custom GitHub actions to enhance features and usage of database and service containers
  • Use hosted runners and create self-hosted runners for GitHub workflows
  • Use GitHub Package registry with GitHub Actions to share and use packages

About the Authors

Chaminda Chandrasekara is a Microsoft Most Valuable Professional (MVP) for Visual Studio ALM and Scrum Alliance Certified ScrumMaster®, and focuses on and believes in continuous improvement of the software development life cycle. He is the Cloud Development and DevOps Architect at eKriegers (Pvt) Ltd. Chaminda is an active Microsoft Community Contributor (MCC) who is well recognized for his contributions in Microsoft forums, TechNet galleries, wikis, and Stack Overflow and he contributes extensions to Azure DevOps Server and Services (former VSTS/TFS) in the Microsoft Visual Studio Marketplace. He also contributes to other open source projects in GitHub. Chaminda has published six books with Apress.

Pushpa Herath is a Microsoft Most Valuable Professional (MVP) working as a Senior DevOps Engineer at 99x. She has many years of experience in Azure DevOps Server and Services (formerly VSTS/TFS), Azure cloud platform and QA Automation. She is an expert in DevOps currently leading Sri Lanka DevOps community, and she has shown in depth knowledge in Azure cloud platform tools in her community activities. She has published four books with Apress and spoken in community evets as well as in the youtube channel of her Sri Lanka DevOps community. Pushpa blogs on technology at DevOps Adventure.

In this Book

  • Introduction to GitHub Actions
  • Getting Started with GitHub Actions Workflows
  • Variables
  • Secrets and Tokens
  • Artifacts and Caching Dependencies
  • Using Self-Hosted Runners
  • Package Management
  • Service Containers
  • Creating Custom Actions
  • A Few Tips and a Mobile Build Example

YOU MIGHT ALSO LIKE

Rating 4.4 of 181 users Rating 4.4 of 181 users (181)
Rating 4.4 of 153 users Rating 4.4 of 153 users (153)