TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Docker Build

Last modified: 20 April 2023

Starting from TeamCity 2017.2, TeamCity comes with built-in  Docker integration, which includes the Docker Build runner.

The runner allows building Docker images as a separate build step. When creating TeamCity projects/ build configurations from a repository URL, the runner is offered as build step during auto-detection, provided a Dockerfile is present in the VCS repository.

Docker Build Parameters



To push the built images to the repository, add the Command Line build step with the docker push command to your configuration.