Search⌘ K

Circle CI

Explore how to set up CircleCI for continuous integration with Docker by creating configurations that build, test, and push Docker images. Understand workflows, jobs, steps, and environment variables to automate deployment while ensuring code quality and security.

Circle CI is a cloud-based continuous integration platform that automates development processes. With Circle CI, the continuous integration and deployment are orchestrated through a single file called config.yml in a folder called .circleci at the root folder of our repository. Circle CI uses the YAML syntax to define configurations on how a pipeline should be built. Everything starts with the project in Circle CI.

Project

A project in Circle CI is the repository we want to configure a pipeline for. This takes the same name as the name of our project in a GitHub repository.

Configuration

A project configuration is the YAML file .circleci/config.yml that contains the definition of the CI pipelines that Circle CI uses to execute our project. Within a Circle CI configuration, there are steps, jobs, and workflows.

Steps

A step is a command we want to execute, such as installing dependencies, building a Docker image, or running a shell script.

Jobs

A job is a combination of one or more steps. It’s responsible for running a series of steps that perform a command.

Workflows

Having steps and jobs isn’t enough; it’s also important to be able to control ...