Did you ever wanted to deploy your own docker-image with only git-push ? Well I've got solution for you :) Check-it-out :)
Project in Github
First what you need is a Github repository. Then what you need is to enable docker integration on the project with :
Settings -> Integrations & services -> Add Service -> "Docker"
Docker Hub with access
When you have setup your github repository, what you need to do is go to Docker Hub and create your account if you haven't done it yet.
Then go to
Create Automated Build ->
Or go to this site.
Then you will link your github account.
After this point you will be able to make automated builds for docker-images with git-pushes.
Docker image on Docker Hub with push
I've created a github-test-repository called docker_discovery that is linked now with github.
FROM alpine MAINTAINER firstname.lastname@example.org RUN apk update RUN apk add vim
You can check my first successful build here
- Remote Build Triggers for Docker-hub
- Github service hooks for docker-hub
- Practival devops use case github jenkins docker
- How to Automate docker builds end to end
That's it :) Comment, share or don't :)
If you have any suggestions what I should blog about in the next articles - please give me a hint :)
See you tomorrow! Cheers!