Circle CI
Here is an example of a Circle CI build, where we build the Earthly target +build.
1
# .circleci/config.yml
2
​
3
version: 2.1
4
jobs:
5
build:
6
machine:
7
image: ubuntu-1604:201903-01
8
steps:
9
- checkout
10
- run: docker login --username "$DOCKERHUB_USERNAME" --password "$DOCKERHUB_TOKEN"
11
- run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download//earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
12
- run: earthly --version
13
- run: earthly --ci --push +build
Copied!
For a complete guide on CI integration see the CI integration guide.
Last modified 2d ago
Copy link