Woodpecker CI
The project needs to be trusted to grant the capabilities like mounting volumes (required for the docker socket). We also need to include the
earthly/earthly
image in the list of images that are allowed to run in privileged mode#.woodpecker.yml
pipeline:
earthly:
image: earthly/earthly:v0.7.7
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- FORCE_COLOR=1
- EARTHLY_EXEC_CMD="/bin/sh"
secrets: [REGISTRY, REGISTRY_USER, REGISTRY_PASSWORD]
commands:
- docker login -u $${REGISTRY_USER} -p $${REGISTRY_PASSWORD} $${REGISTRY}
- earthly bootstrap
- earthly --ci --push -P +build
Last modified 4d ago