Skip to content
These docs are still under construction and may contain outdated references to Earthly and/or broken links.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

πŸ”€Migrating from Earthly

earthly was originally developed by Earthly Technologies as a corporately-sponsored open-source project.

In 2025, earthly announced a pivot to a different business model, no longer maintaining earthly to focus on entirely different products and directions.

In response, the community has forked the project under the name EarthBuild to continue its development and maintenance.

What to Expect from EarthBuild

EarthBuild is a community-driven project. This means development is no longer backed by a single corporation but by a collective of users and contributors.

  • Stability: The immediate goal of EarthBuild is to provide a secure, stable & reliable build tool for the community.

  • Open Governance: The project aims for an open and transparent governance model.

  • Community Support: Support is available through community channels.

Key Changes

The most significant change is the removal of all features related to Earthly's commercial cloud offering. EarthBuild focuses on being a great, self-hosted build tool.

Features related to the cloud-hosted earthly commercial offering were removed in the final release of earthly v0.8.16 and will never be present in EarthBuild releases.

We will maintain compatibility while logging warnings for other, more invasive, changes for releases of EarthBuild on the v0.8.x minor version.

We will publish a breaking change to these features in the first unique minor version for EarthBuild, v0.9.x.

These changes include renaming of configuration variables from EARTHLY_* to EARTH_* and naming of built-in arguments like ARG EARTHLY_GIT_PROJECT_NAME to ARG EARTH_GIT_PROJECT_NAME. Some cloud-related syntax, such as the PROJECT command, is deprecated but not yet scheduled for removal β€” see the Syntax section below.

Binary Name Change

The command-line tool has been renamed from earthly to earth. You will need to update your scripts, CI configurations, and any local aliases.

In the earthlybuild/actions-setup github action, we've aliased earthly to earth, logging the deprecated usage, to ease the switch.

In version v0.9.0 we will release a breaking change that removes the alias.

As of that version, you must update your CI configuration to use earth instead of earthly to reference the CLI binary.

We recommend using this period of overlap to update your CI configuration in preparation of the release.

Installation

To switch to EarthBuild, you will need to use the new installation scripts.

You should remove the old earthly binary from your systems to avoid confusion.

Release Signing Key Change

EarthBuild signs its releases with a new PGP key. If you verify release checksums, you must import it:

Earthly (old)
EarthBuild (new)

Fingerprint

5816 B221 3DD1 CEB6 1FC9 52BA B118 5ECA 33F8 EB64

0890 0479 B981 AF7C 32C8 B918 604C 8879 FF83 C260

Identity

earthly <...>

earthbuild <webmaster@earthbuild.dev>

Key file

https://pkg.earthly.dev/earthly.pgp

The old key will not verify EarthBuild releases, and pkg.earthly.dev no longer resolves β€” any automation that fetched the key from that host needs updating. See Checksum Verification for the full procedure.

Relatedly, the deb and rpm repositories that were hosted on pkg.earthly.dev are gone; EarthBuild has not yet published replacements. Install the binary directly or via Homebrew in the meantime.

Release Artifact Name Change

Release assets are now named earth-<os>-<arch> rather than earthly-<os>-<arch> (for example earth-linux-amd64). Scripts that download a pinned asset URL β€” including releases/latest/download/earthly-... links β€” need updating.

Earth Directory Name Change

The Earthly directory (for config, etc.) has been renamed from ~/.earthly to ~/.earth.

Removed Features and Alternatives

The following commands and flags, mostly related to Earthly Cloud, have been removed.

Removed Commands

Command(s)
Description
Alternative / Migration Path

account

Managed Earthly accounts.

Not applicable. EarthBuild does not have a concept of user accounts.

org, orgs

Managed Earthly organizations.

Not applicable.

project, projects

Managed Earthly projects.

Not applicable.

satellite, satellites

Managed remote runners (Buildkitd instances).

You can run your own Buildkitd instances on any infrastructure and connect to them using earth --buildkit-host <host>. See remote buildkit documentation.

cloud, clouds

Configured Cloud Installations for BYOC plans.

See satellite alternative.

secret, secrets

Managed cloud secrets.

Use standard environment variables, --secret flags with local files (--secret-file-path), or integrate with your own secret management solution (e.g., HashiCorp Vault, AWS Secrets Manager) within your Earthfiles.

registry, registries

Managed registry access.

Removed as part of the cloud teardown in earthly v0.8.16. Use standard Docker authentication methods for registry access.

web

Opened the Earthly Cloud web UI.

Not applicable.

billing

Viewed Earthly billing information.

Not applicable.

gha

Managed GitHub Actions integrations.

The core GitHub Actions integration remains. See the CI section below. This command was for a specific, now-removed, part of that integration.

prune-auto-skip

Pruned auto-skip data.

This maintenance command has been removed. The auto-skip feature itself is deprecated (see below); we are collecting feedback on whether to remove it in the future.

Removed & Changed CLI Options

  • --satellite, --sat, --no-satellite, --no-sat: Removed. Use --buildkit-host (or configuration) explicitly to connect to a remote Buildkitd instance.

  • --auto-skip, --no-auto-skip (and --auto-skip-db-path): Deprecated. These flags log a deprecation warning. Note that the cloud backend that once powered auto-skip has been removed; only the local database (--auto-skip-db-path) still functions. We may remove these in a future release and are collecting feedback to help decide β€” let us know how you use auto-skip in this discussion.

  • --auth-token: This flag has been removed since it was used for authenticating with Earthly Cloud. For registry authentication, use standard Docker authentication methods.

  • The binary name in help texts and other places is now earth instead of earthly.

Removed Config File Options

  • disable_log_sharing: Removed. There is no cloud provider to share logs with anymore.

  • disable_analytics: Removed. There are no analytics to collect/share anymore.

These options are simply ignored if present.

Environment Variable Changes

All EARTHLY_* environment variables have been renamed to EARTH_* to reflect the project's new identity. The following environment variables are affected:

Removed Environment Variables

The following environment variables have been removed along with their associated features:

  • EARTHLY_TOKEN - Used for Earthly Cloud authentication

  • EARTHLY_SATELLITE - Selected satellite for builds

  • EARTHLY_NO_SATELLITE - Disabled satellite usage

The auto-skip environment variables (EARTHLY_AUTO_SKIP, EARTHLY_NO_AUTO_SKIP, EARTHLY_AUTO_SKIP_DB_PATH) are not removed. Like the corresponding flags, they are deprecated and log a warning; we are collecting feedback on whether to remove them in the future (see the auto-skip discussion).

Migration Strategy

Immediate: EarthBuild will continue to recognize EARTHLY_* environment variables in the current version but will log deprecation warnings encouraging migration to EARTH_* variables.

Future Breaking Change: In version v0.9.0 and onwards, support for EARTHLY_* environment variables will be removed entirely. You must update your environment configurations before upgrading to that version.

Standard Variables Unchanged: Some environment variables remain unchanged as they follow standard conventions:

  • GIT_USERNAME - Git authentication username

  • GIT_PASSWORD - Git authentication password

  • GITHUB_ACTIONS - GitHub Actions environment detection

  • BUILDKIT_HOST - Read by the all-in-one image to point at an external BuildKit daemon. This is upstream BuildKit's own variable name, not an Earthly one, so it keeps its unprefixed spelling. Note that the earth CLI flag binding is separate and is renamed, to EARTH_BUILDKIT_HOST.

Container and Image Variables

The variables consumed by the published images β€” EARTH_ADDITIONAL_BUILDKIT_CONFIG, EARTH_EXEC_CMD, EARTH_TMP_DIR, EARTH_RESET_TMP_DIR, EARTH_DEBUG and EARTH_BUILDKIT_HOST β€” follow the same rule: the EARTH_ name is current, and the EARTHLY_ spelling still works but logs a deprecation warning.

The variables that the earth CLI previously used to configure WITH DOCKER (EARTHLY_DOCKERD_DATA_ROOT, EARTHLY_START_COMPOSE, EARTHLY_COMPOSE_FILES and friends) are gone entirely rather than renamed. They were an internal protocol between the CLI and the buildkitd image and are now passed as command-line flags, so there is nothing to set. EARTHLY_DOCKER_WRAPPER_DEBUG, EARTHLY_DOCKER_WRAPPER_DEBUG_CMD and EARTHLY_DOCKER_WRAPPER_PRE_SCRIPT remain environment variables, renamed to EARTH_* with the usual deprecation fallback.

Buildkitd Container Name Changes

The buildkitd container name has changed from earthly-buildkitd to earth-buildkitd.

Buildkitd Cache Volume Changes

The buildkitd cache volume name has changed from earthly-cache to earth-cache.


Detailed CLI Diff

Here is a diff of the CLI help output to highlight the changes. The + side below is captured from EarthBuild v0.8.19.

Note: this diff is a verbatim capture, so environment-variable bindings still appear with the EARTHLY_* prefix. Every binding shown also accepts the EARTH_* spelling, which is the one to use β€” see the Environment Variable Changes section above.

Syntax

The core syntax of Earthfiles is largely unchanged.

The PROJECT command relates to the cloud offering. It is still accepted, but logs a deprecation warning. With the cloud integration removed, it no longer has any effect unless you use a custom secret command. We may remove it in a future release and are collecting feedback to help decide β€” let us know how you use PROJECT in this discussion.

Built-in arguments are renamed from ARG EARTHLY_* to ARG EARTH_*. The EARTHLY_* names still work in v0.8.x, but referencing one logs a deprecation warning pointing at the EARTH_* equivalent (for example, ARG EARTHLY_GIT_PROJECT_NAME warns and suggests EARTH_GIT_PROJECT_NAME). The EARTHLY_* built-in arguments will be removed in v0.9.x. See the built-in args reference for the full list.

The obsolete EARTHLY_CI built-in argument and VERSION --ci-arg feature flag have been removed. The obsolete EARTHLY_CI_RUNNER env variable and VERSION --earthly-ci-runner-arg feature flag have been removed.

CI

GitHub Actions

If you use the github actions CI integration (formerly github.com/earthly/actions-setup), you should update your workflow yaml to point to github.com/earthbuild/actions-setup instead.

Container Image Registries

The canonical container images have moved from the docker.io/earthly/* namespace to docker.io/earthbuild/*. If you reference any of these images directly β€” for example via --buildkit-image, the global.buildkit_image config value, a WITH DOCKER --pull, or a CI step that pulls the all-in-one image β€” update the registry path.

Image
Old (earthly)
New (EarthBuild)

All-in-one CLI image

docker.io/earthly/earthly

docker.io/earthbuild/earthbuild

BuildKit daemon

docker.io/earthly/buildkitd

docker.io/earthbuild/buildkitd

Docker-in-Docker (WITH DOCKER)

docker.io/earthly/dind

docker.io/earthbuild/dind

Concrete examples as they apply to v0.8.18:

For most users the BuildKit daemon image does not need to be set explicitly β€” earth defaults to the matching docker.io/earthbuild/buildkitd image for the release automatically. You only need to act if you have pinned an earthly/* image path somewhere.

Other repositories

For other repositories in the earthly ecosystem, we've created EarthBuild forks:

Hint πŸ€–

Provide this document to your agent of choice to pick up the heavy lifting at your org.

Last updated