Hands-On Github Actions: Implement CI/CD with Github Action Workflows for Your Applications

Chandrasekara, Chaminda, Herath, Pushpa

  • 出版商: Apress
  • 出版日期: 2021-02-23
  • 定價: $1,575
  • 售價: 9.5$1,496
  • 貴賓價: 9.0$1,418
  • 語言: 英文
  • 頁數: 162
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484264630
  • ISBN-13: 9781484264638
  • 相關分類: Version Control
  • 立即出貨 (庫存=1)



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.

What You Will Learn

  • 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

Who This Book Is For

DevOps teams who want to build quality CI/CD workflows.


這本書將教你如何透過GitHub Actions為你開發的任何應用程式實現持續整合/持續交付(CI/CD)工作流程。本書將深入介紹實現模式、不同技術構建的解決方案、實現自定義組件作為操作的指南,以及使用GitHub Actions工作流程中可用的功能來為你的存儲庫設置CI/CD的指導方針。

《Hands-on GitHub Actions》首先介紹了GitHub Actions,概述了CI/CD,然後介紹了其工作流程。接下來,你將學習如何在GitHub工作流程中使用變量以及通過REST API使用令牌。此外,你還將探索在GitHub中使用存儲和緩存依賴項,並在後續作業中使用存儲。接著討論了使用自託管運行程序,你將設置自己的硬件和軟件來運行GitHub Actions。你將使用Redis服務和PostgreSQL服務容器,並創建自定義操作。最後,你將使用GitHub應用程序,並了解GitHub Actions和工作流程的語法參考。

- 使用GitHub Actions為任何平台和任何語言創建工作流程
- 開發自定義GitHub操作以增強功能並使用數據庫和服務容器
- 使用托管運行程序和創建自託管運行程序進行GitHub工作流程
- 使用GitHub Actions的GitHub Package註冊表來共享和使用套件

- 希望建立優質CI/CD工作流程的DevOps團隊


Chaminda Chandrasekara is a Microsoft Most Valuable Professional (MVP) for Visual Studio ALM and Scrum Alliance Certified ScrumMaster(R), 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.


Chaminda Chandrasekara 是一位微軟最有價值專家 (MVP),專注於 Visual Studio ALM 和 Scrum Alliance 認證的 ScrumMaster(R),並致力於軟體開發生命週期的持續改進。他是 eKriegers (Pvt) Ltd 的雲端開發和 DevOps 架構師。Chaminda 是一位活躍的微軟社群貢獻者 (MCC),他在微軟論壇、TechNet 圖庫、維基和 Stack Overflow 上的貢獻受到廣泛認可,並在微軟 Visual Studio Marketplace 上為 Azure DevOps Server 和 Services (前身為 VSTS/TFS) 貢獻擴充功能。他還參與了 GitHub 上的其他開源項目。Chaminda 已經出版了六本由 Apress 出版的書籍。

Pushpa Herath 是一位微軟最有價值專家 (MVP),目前在 99x 擔任高級 DevOps 工程師。她在 Azure DevOps Server 和 Services (前身為 VSTS/TFS)、Azure 雲平台和 QA 自動化方面擁有多年的經驗。她是 DevOps 領域的專家,目前領導斯里蘭卡的 DevOps 社群,並在社群活動中展示了對 Azure 雲平台工具的深入了解。她已經出版了四本由 Apress 出版的書籍,並在斯里蘭卡 DevOps 社群的 YouTube 頻道以及其他社群活動中發表演講。Pushpa 在 DevOps Adventure 上以技術為主題撰寫部落格。