Harness CI images
When you run a Harness CI build, the pipeline pulls the Harness CI images it needs from Docker Hub.
When a Harness CI pipeline runs, an initialize step runs automatically before other stage steps. It prepares the environment for your steps.
The initialize step prepares build infrastructure and pulls required Harness images. It uses Docker Hub by default. You can also use the Harness project on GAR or the Harness ECR public gallery. Go to Connect to the Harness container registry to configure your account and pipeline registry settings.
What you will learn from this topic
By the end of this topic, you will be able to:
Find the Harness CI images and plugin images available on each supported registry.
Understand how Harness CI image pulls work, including anonymous access and Docker Hub rate limiting.
Review how Harness CI images are updated.
Specify the Harness CI images used in your pipelines with the
execution-configAPI.Use the Windows rootless images.
Harness CI images list
You can find Harness CI images on Docker Hub, the Harness project on GAR, the Harness ECR public gallery, or the Harness EU-GAR registry.
The following Harness CI images are available on Docker Hub, GAR, ECR, and EU-GAR. Build image tags change often.
harness/ci-addon: Used to execute steps on containers in Kubernetes pods.harness/ci-lite-engine: Used to orchestrate execution of steps on Kubernetes pods.harness/drone-git: Used to clone git repos.harness/harness-cache-server: Used to cache dependencies and build artifacts.
Harness CI uses Drone plugin images to run some operations. The following plugin images are available across all supported registries:
plugins/kaniko: Used to build Docker images with kaniko and push to Docker registry for Kubernetes cluster build infrastructures.plugins/kaniko-ecr: Used to build Docker images with kaniko and push to AWS ECR for Kubernetes cluster build infrastructures.plugins/kaniko-acr: Used to build Docker images with kaniko and push to Azure ACR for Kubernetes cluster build infrastructures.plugins/kaniko-gar: Used to build Docker images with kaniko and push to Google Artifact Registry for Kubernetes cluster build infrastructures.plugins/docker: Used to build and push Docker images for Harness Cloud build infrastructures.plugins/ecr: Used to build and push Docker images to AWS ECR for Harness Cloud build infrastructures.plugins/acr: Used to build and push Docker images to Azure ACR for Harness Cloud build infrastructures.plugins/gar: Used to build and push Docker images to Google Artifact Registry for Harness Cloud build infrastructures.plugins/buildx: Used to build and push Docker images with Buildx.plugins/buildx-ecr: Used to build and push Docker images to AWS ECR with Buildx.plugins/buildx-acr: Used to build and push Docker images to Azure ACR with Buildx.plugins/buildx-gar: Used to build and push Docker images to Google Artifact Registry with Buildx.plugins/cache: Used to cache files to/from S3/GCS that help to expedite builds.plugins/s3: Used to upload files to AWS S3 buckets.plugins/gcs: Used to upload files to GCP GCS service.plugins/artifactory: Used to upload artifacts to JFrog Artifactory.plugins/download-artifactory: Used to download artifacts from JFrog Artifactory.plugins/test-analysis: Used for test intelligence and test report parsing.plugins/artifact-metadata-publisher: Used to publish artifact metadata.plugins/aws-oidc: Used for AWS OIDC-based authentication.plugins/gcp-oidc: Used for GCP OIDC-based authentication.plugins/buildah-docker: Used to build Docker images with Buildah.plugins/drone-liquibase: Used for database DevOps with Liquibase.plugins/image-migration: Used to migrate Docker images between registries.plugins/email: Used to send email notifications.plugins/githubaction: Used to run GitHub Actions in Harness CI.
If an image you need is not listed here or is unavailable on your expected registry, contact Harness Support.
Harness CI image pulls
By default, when a CI pipeline runs, the Harness Delegate uses a Docker connector to make an anonymous outbound connection to pull the Harness CI images from the public container registry where they are stored.
Do not pull images anonymously
If you do not want the Harness Delegate to pull images anonymously, you can use credentialed access instead. Go to Connect to the Harness container image registry to configure credentialed access.
Do not pull images from a public registry
Harness CI images are stored in a public container registry. If you do not want to pull the images directly from the public registry, you can pull Harness images from your own private registry. Go to Connect to the Harness container image registry to configure a private registry.
Docker Hub rate limiting
By default, Harness uses anonymous Docker access to pull Harness images. If you experience rate limiting issues when pulling images, try one of these solutions:
Use credentialed access, rather than anonymous access, to pull Harness CI images.
Configure the default Docker connector to pull images from GAR or ECR instead of Docker Hub.
Pull Harness images from your own private registry.
Go to Connect to the Harness container image registry to configure these options.
Harness CI image updates
Every week, based on changes, CI images are updated and listed on the CI release notes page. We recommend maintaining a one-month window to run security scans or other tests on new CI build images before deploying them.
Harness updates harness/ci-* images, such as harness/ci-addon and harness/ci-lite-engine, according to the following release process:
Harness publishes updates for all CI images weekly based on changes.
Version numbers follow the x.y.z format, where x represents the major release number, y represents the minor release number, and z represents a hotfix or patch release number.
You can choose to deploy the latest containers immediately upon release or download and scan them before deployment.
If issues are found, patches will be applied to the latest version.
Harness plugin images for SMP are updated as needed. All Harness image updates are backward-compatible. When you first deploy CI, Harness scans all plugin images you plan to use and addresses any vulnerabilities. After your initial deployment, Harness publishes updates to address new vulnerabilities based on our Service Level Agreement with your organization.
Specify the Harness CI images used in your pipelines
You can use the Harness CI execution-config API to specify or update the Harness CI images used in your infrastructure by specifying image tags.
API key authentication is required. Go to Manage API keys to create an API key. Go to the Harness API documentation to configure authentication.
Send a
get-default-configrequest to get a list of the latest Harness CI build images and tags. You can use theinfraparameter to getk8images orVMimages.The response payload shows the latest supported images and their tags, for example:
Send a
get-customer-configrequest to get the build images that your CI pipelines currently use. WhenoverridesOnlyistrue, which is the default value, this endpoint returns the non-default images that your pipeline uses.If the response contains
null, your pipeline is using all default images, for example:Send an
update-config(POST) request with a list of the images you want to update and the new tags to apply.Send a
reset-config(POST) request with a list of images to reset one or more images to their defaults.
Deprecation notice: app.harness Docker registry
Harness images are available on Docker Hub, the Harness project on GAR, and the Harness ECR public gallery. In a continuation of this effort, and to improve stability when pulling Harness-required images, Harness deprecated the Harness-hosted app.harness Docker registry effective 15 February 2024. Go to Connect to the Harness container image registry to review the deprecation details.
Windows rootless
To use Windows images with a rootless operation, download the appropriate images. Use the following versions or later:
harness/ci-addon:rootless-1.16.92harness/ci-lite-engine:rootless-1.16.92harness/drone-git:1.6.9-rootless
Troubleshoot Harness CI images
Next steps
Pre-built public images: Use pre-built public images for CI pipelines.
View CPU and memory utilization metrics: Monitor real-time CPU, memory, and disk usage during CI pipeline execution on Harness Cloud.
Last updated
Was this helpful?