AWS CodeBuild
Here is an example of an AWS CodeBuild build, where we build the EarthBuild target +build.
# ./buildspec.yml
version: 0.2
phases:
install:
commands:
- wget https://github.com/EarthBuild/earthbuild/releases/download/v0.8.19/earth-linux-amd64 -O /usr/local/bin/earth && chmod +x /usr/local/bin/earth
pre_build:
commands:
- echo Logging into Docker
- docker login --username "$DOCKERHUB_USERNAME" --password "$DOCKERHUB_TOKEN"
build:
commands:
- earth --ci --push +buildFor a complete guide on CI integration see the CI integration guide.
Last updated