I've been wishing for something like this. Can I generate AWS CodeBuild buildspec.yml files from an Earthfile?
You can probably just manually write a buildspec that has a single earthly call:
command:
- earthly +build
I've not used CodeBuild though, so I'm not totally sure.Long term, the idea of generating the config for N possible build systems from Earthly is something we want to explore but we aren't there yet.