Docker

Edit pageLast modified: 07 April 2025

The Docker build step allows launching the build, push, and tag Docker commands inside your build.

If you need to push the newly built image to a registry, you can authorize to a Docker or Podman registry by configuring the Docker Registry Connections build feature, as follows:

  1. Open project settings and navigate to the Connections settings tab.

  2. Add a new Docker or Podman connection to your project.

  3. In your build configuration settings, configure the Docker Registry Connections build feature using the connections created in the previous step.

If a Dockerfile is present in your VCS repository and you create a TeamCity project based on this repository, TeamCity will autodetect it and offer creating a build step using this runner.