GitHub Actions and Azure - Getting started with GitHub Actions and Azure Login

GitHub Actions and Azure - Getting started with GitHub Actions and Azure Login

2020-11-29

New to GitHub Actions? This episode is your starting point for automating Azure deployments with GitHub’s built-in CI/CD platform.

What You’ll Learn

  • The difference between Git and GitHub, and how GitHub Actions fits into your development workflow alongside alternatives like Azure DevOps, GitLab, and Bitbucket
  • GitHub Actions workflow YAML structure: on triggers, jobs, steps, runs-on
  • How GitHub-hosted runners (Ubuntu, Windows, macOS) work and when to use self-hosted alternatives
  • Using the Azure Login action to authenticate against Azure from a workflow
  • Creating an Azure Service Principal with the az ad sp create-for-rbac command and storing credentials as GitHub Secrets
  • Running Azure CLI commands as workflow steps after authentication
  • Pinning GitHub Actions to specific versions (e.g., azure/login@v1) for reproducible, auditable pipelines

Key Concept: Actions as Repositories

GitHub Actions are themselves open-source repositories. When you reference azure/login@v1, you’re pinning to a specific release tag of the azure/login GitHub repository. This makes the GitHub Actions ecosystem composable, auditable, and extensible—anyone can submit a pull request to add new capabilities.

Related Content

Deploying Azure Functions and Static Sites with GitHub Actions | Cloud with Chris

Deploying Azure Functions and Static Sites with GitHub Actions | Cloud with Chris

2020-10-02

Chris walks through GitHub Actions fundamentals and demonstrates how to use them to build and deploy a multi-tenant Azure Functions API and a static frontend — both triggered automatically on push and pull request events. Using a pet project (a Yu-Gi-Oh card inventory app) as the real-world example, the session covers CI/CD concepts, workflow triggers, GitHub Secrets, publish profiles, Dependabot, and the GitHub public roadmap for upcoming Actions features like manual deployment approvals.

3 - DevOps in a Cloud World

3 - DevOps in a Cloud World

2020-03-29

DevOps is the union of people, process, and products to enable the continuous delivery of value to end users — not just code or features. In this episode, Abel Wang, Principal Developer Advocate and DevOps Lead at Microsoft, joins Chris to cover the foundations of DevOps, telemetry-driven development, database DevOps, feature flags, Site Reliability Engineering, and the importance of shifting left on quality and security.

GitHub Actions and Azure - Source Controlling our Code using Git

GitHub Actions and Azure - Source Controlling our Code using Git

2020-11-29

This series opener demonstrates source-controlling a .NET MVC project scaffolded with dotnet new mvc inside Windows Subsystem for Linux, using VS Code's built-in Git integration to stage commits, push to a new GitHub repository, and set a remote origin. It also introduces the GitHub Actions Azure Actions catalogue — including azure/login, azure/cli, and azure/webapps-deploy — as a foundation for the CI/CD automation covered in subsequent episodes.