CI/CD: Automating Tests, Builds and Deployments
Exit

Lesson 5 of 10 · Tests, images and GitLab CI

Building and publishing a Docker image in CI

55 min Node.js 22 (Debian, git, npm, python3)

Objective

Make CI produce the most common deployment artifact today: a Docker image. You will write a Dockerfile suited to automation, then a pipeline that builds the image, publishes it to a registry with traceable tags, and makes it faster and safer.

This lesson is part of the full course

Unlock CI/CD: Automating Tests, Builds and Deployments to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.