https://github.com/emilebosch/drone-docker-build
Build and push docker images with drone faster leveraging native docker on the server.
https://github.com/emilebosch/drone-docker-build
Last synced: 3 months ago
JSON representation
Build and push docker images with drone faster leveraging native docker on the server.
- Host: GitHub
- URL: https://github.com/emilebosch/drone-docker-build
- Owner: emilebosch
- Created: 2016-01-31T15:37:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-31T16:16:34.000Z (over 9 years ago)
- Last Synced: 2025-01-14T03:35:19.758Z (5 months ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Docker drone build
This image allows you to access and build docker images faster from
drone.In order to use this you need to:
- Allow trusted build at your drone registry
- Edit the drone yml to use the following imageThe `.drone.yml` file for instance used at our company with pushing to our private
registry.```
build:
image: 54hrs/drone-docker-build
commands:
- docker login -u registry -p $$REGISTRY_PASSWORD -e [email protected] registry.private.com
- docker build -t registry.private.com/apps:$CI_COMMIT .
- docker push registry.private.com/apps:$CI_COMMIT
volumes:
- /var/run/docker.sock:/var/run/host.sock:ro
```