CI/CD with GitHub Actions
Automate Waypoint's path to production with GitHub Actions: test and scan every pull request, build once, deploy to Azure with OIDC and no stored passwords, approve releases and roll back fast.
Modules
11
Lessons
73
Level
Intermediate
Project
Reviewed by a mentor
About This Course
Up to now you've built, pushed and deployed by hand. This course automates all of it: it starts with why CI/CD exists and what a pipeline is, teaches YAML and GitHub Actions step by step, and ends with Waypoint tested, scanned, built and deployed to Azure on every merge, with Terraform running in the pipeline, an approval before production and a practised rollback. AI is for brainstorming and explanations only: you write every workflow yourself, working from the documentation.
You'll Be Able To
- Explain continuous integration, delivery and deployment, and the stages of a pipeline
- Write GitHub Actions workflows from scratch
- Build, test, scan and push container images automatically
- Deploy to Azure without stored passwords, using OpenID Connect
- Run Terraform safely from a pipeline: plan on pull request, apply on merge
- Release safely with approvals, and roll back a bad release
- Secure and debug pipelines
What's Inside
- 1
CI/CD concepts
8 lessons
Learn why teams automate releases: continuous integration, delivery and deployment, pipeline stages, artifacts, testing, the DORA metrics and the main CI/CD tools.
- 2
YAML
4 lessons
Read and write the YAML that pipelines use: keys, values, lists and maps, the indentation and type traps that break files, multi-line strings and anchors.
- 3
GitHub Actions fundamentals
8 lessons
Write and run your first GitHub Actions workflows: events, jobs, steps and runners, triggers and filters, reading logs and re-running jobs, then Waypoint's first pipeline.
- 4
Jobs and runners
7 lessons
Control where and when jobs run: GitHub-hosted and self-hosted runners, job order with needs, matrix builds, conditions, timeouts, concurrency, and service containers.
- 5
Actions
5 lessons
Use and reuse actions safely: judge Marketplace actions, use checkout and the setup actions, pin to commit SHAs, and write reusable workflows and composite actions.
- 6
Variables, secrets and contexts
7 lessons
Give workflows the settings and credentials they need, safely: environment and configuration variables, contexts and expressions, secrets, job outputs and a least-privilege GITHUB_TOKEN.
- 7
Continuous integration for Waypoint
9 lessons
Build Waypoint's CI: lint, unit and integration tests against PostgreSQL, a cached Buildx image build tagged with the commit SHA, a Trivy scan, and required checks that block bad merges.
- 8
Artifacts and registries
4 lessons
Keep what your pipeline builds: upload artifacts, push Waypoint's image to a registry, version releases with tags and GitHub Releases, and promote one image to production without rebuilding.
- 9
Deploying to Azure
9 lessons
Deploy Waypoint to Azure from the pipeline: environments with protection rules, OIDC sign-in with no stored password, Terraform plan and apply, Container Apps deployments and smoke tests.
- 10
Safe releases
6 lessons
Release Waypoint safely: approvals before production, blue-green and canary releases with Container Apps traffic splitting, fast rollbacks by hand and on a failed smoke test, and feature flags.
- 11
Securing and debugging pipelines
6 lessons
Secure and debug Waypoint's pipeline: least-privilege tokens and identities, safe triggers for fork pull requests, SHA-pinned actions, debug logs, common failures, and local runs with act.