Just a headsup. I’ve opensourced drone build for faster and private registry builds of docker images.

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 image

The .drone.yml file for instance used at our company with pushing to our private registry.

  image: 54hrs/drone-docker-build
    - 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
    - /var/run/docker.sock:/var/run/host.sock:ro

It speeds up by using the underlying host docker.

Check out the Github repo here

Hey you 👋. Want to stay up to date?

Would you like to stay up to date on upcoming learn-togethers or events? Subscribe here! I'll only use your email to keep u up to date on new learnings and coding tips. It wont be shared! Feel free to unsubscribe anytime!