SSH_AUTH_SOCKto detect where the SSH agent socket is located and mounts that socket to the BuildKit daemon container. (As an exception, on Mac, Docker's compatibility SSH auth socket is used instead).
EARTHLY_SSH_AUTH_SOCKto point to an alternative SSH agent.
ssh-addbefore executing Earthly builds.
authmode for the git site that hosts the repository. By default earthly automatically default to
sshauthentication if the ssh auth agent is running and has at least 1 key loaded, otherwise
earthlywill fallback to using non-authenticated HTTPS.
bitbucket.orghave been tested as SCM providers. In order to use self-hosted git repositories such as GitHub enterprise you will need to configure Earthly to use them using a regular expression:
FROM) and for pushing images (via
SAVE IMAGE --push).