The Earthly libarrow-up-right is a collection of reusable functions for common operations to be used in Earthfiles.
Earthly lib is split across multiple packages, each of which can be imported separately. The packages are:
billingarrow-up-right - functions for estimating billing
rustarrow-up-right - functions for working with Rust
utils/dindarrow-up-right - functions for working with Docker-in-Docker
utils/gitarrow-up-right - functions for working with Git
utils/ssharrow-up-right - functions for working with SSH
See the individual packages for more information.
Additional language-specific functions are currently planned for later in 2024.
To use Earthly lib, import the package you want to use in your Earthfile:
IMPORT github.com/earthly/lib/utils/git:2.2.11 AS git
Then, call the function you want to use:
DO git+DEEP_CLONE --GIT_URL=...
Last updated 2 months ago