CI/CD integrations
If your team can't use the source control integrations, Infracost can be wired into your existing CI/CD pipeline instead. Pick the guide that matches your provider:
For TeamCity, CodeBuild, Harness, Buildkite or anything else that can run a container, follow the Any CI/CD system guide. Email us if you need help.
Docker image
Every guide above uses the ghcr.io/infracost/ci image, which ships git and the infrastructure code parsers. No Terraform binary, no terraform plan and no plan JSON are needed.
docker pull ghcr.io/infracost/ci:2
Tags are latest, the major series (2), the minor series (2.0) and the exact version (2.0.0). 2 is the one to use: it picks up new resources, pricing fixes and parser updates, and never crosses a breaking change. Only the exact version is immutable, so pin by digest if you need the bytes pinned. Binaries for Linux, macOS and Windows are published on each release — see Any CI/CD system for the install with checksum verification.




