GitHub ActionsDocker Intermediate Free course, 2 parts
CI/CD and automation
Test and ship on every push: pipelines, registries, secrets and safe rollouts.
For developers tired of deploying by hand.
- 10 lessons
- 3h 5m total time
- 0 hands-on labs
- 3 diagrams
- 10 quizzes
Course complete
You finished CI/CD and automation
All 10 lessons done on . Share it, print the certificate, or start the next course below.
Levelrail Learn Certificate of completion Completed CI/CD and automation on Levelrail Learn 10 lessons, 3h 5m of guided practice levelrail.com/learn/courses/ci-cd-automation/
What you will be able to do
- Build a test and deploy pipeline
- Publish and pull images
- Handle pipeline secrets safely
- Roll out and roll back automatically
Syllabus
10 lessons in 2 parts, 3h 5m in total
Part 1
Lessons 1 to 5
5 lessons, 1h 32m 0/5- CI/CD pipeline stages explained, from push to production Up next Done A CI/CD pipeline is an ordered set of automated stages (trigger, checkout, install, test, build, publish, deploy, verify) that turns a commit into running software and stops at the first failure. 12 min Beginner Diagram Quiz
- GitHub Actions workflow anatomy, explained line by line Up next Done A GitHub Actions workflow is a YAML file in .github/workflows that names the events that start it, the jobs to run, and the steps in each job. 15 min Beginner Quiz
- Run tests on every push and pull request with GitHub Actions Up next Done To run tests on every push and pull request, add a workflow with on push and pull_request triggers that checks out the code, installs with npm ci and runs npm test. 15 min Beginner Quiz
- Build and push a Docker image to GHCR with GitHub Actions Up next Done GHCR is GitHub's container registry at ghcr.io, and a workflow can log in with GITHUB_TOKEN, build an image and push it with tags derived from the commit or version. 20 min Intermediate Diagram Quiz
- Deploy over SSH from GitHub Actions with a restricted key Up next Done An SSH deploy lets a workflow log in to your server with a dedicated key and run one fixed deploy script, so the key can do that job and nothing else. 30 min Intermediate Quiz
Part 2
Lessons 6 to 10
5 lessons, 1h 33m 0/5- Secrets and variables in CI pipelines, GitHub Actions guide Up next Done CI secrets are encrypted values (tokens, keys, passwords) stored in the CI system and injected into jobs at run time, while variables hold non-sensitive configuration in plain text. 15 min Intermediate Quiz
- Cache dependencies in GitHub Actions to speed up builds Up next Done Caching in GitHub Actions saves files such as downloaded packages under a key, then restores them in later runs so the install step does less work. 15 min Intermediate Quiz
- Matrix builds and branch protection in GitHub Actions Up next Done A matrix build runs one job definition across many combinations such as Node versions and operating systems, and branch protection makes chosen checks mandatory before a merge. 18 min Intermediate Quiz
- Version and tag releases with semver, git tags and gh release Up next Done Releasing by tag means you pick a semantic version, create an annotated git tag such as v1.2.0, push it, and let a workflow build, tag and publish that exact commit. 20 min Intermediate Quiz
- Rollback and release strategy in a CI/CD pipeline Up next Done A pipeline rollback redeploys a previous, known-good immutable image tag, triggered by a health check failure or by hand, and works only if database changes are backward compatible. 25 min Intermediate Diagram Quiz