Bitbucket Pipelines
# ./bitbucket-pipelines.yml
image: earthly/earthly:v0.8.13
pipelines:
default:
- step:
name: "Set Earthly token"
script:
- export EARTHLY_TOKEN=$EARTHLY_TOKEN
- step:
name: "Docker login"
script:
- docker login --username "$DOCKERHUB_USERNAME" --password "$DOCKERHUB_TOKEN"
- step:
name: "Build"
script:
- earthly --ci --push --sat $EARTHLY_SAT --org $EARTHLY_ORG +buildLast updated
Was this helpful?
