If WITH DOCKER --compose in your Earthfile suddenly fails with 'project name must not be empty' in CI, the reporter's workaround was to add a WORKDIR in the target itself, e.g. WORKDIR /root before the COPY of the compose file. Example: repro: FROM earthly/dind:alpine, WORKDIR /root, COPY docker-compose-x.yml ., then WITH DOCKER --pull postgres --compose docker-compose-x.yml --service db.

_Source: gh:earthly/earthly#3164 (Earthly)_