How to create a Auto Build project on DockerHub with GitHub
From ESS-WIKI
Revision as of 11:32, 29 November 2016 by Eric.liang (talk | contribs)
Contents
GitHub
Project on GitHub: ADVANTECH-Corp/docker-igw-image-x86
Example: "mqtt-bus"
Branch: mqtt-bus
0. Prepare your Dockerfile for your application'' git clone https://github.com/ADVANTECH-Corp/docker-igw-image-x86.git git branch mqtt-bus git check mqtt-bus cp your Dockerfile into this folder git add Dockerfile git commit -am Dockerfile git push -u origin mqtt-bus
Check on GitHub
Docker hub
Create a auto build project on Docker Hub with GitHub
Switch to "advigw4x86
Create a Automated Build Project
Select GitHub for Auto build source
Select ADVANTECH-Corp "docker-igw-image-x86" project
Enter your Project Name (ex: "mqtt-bus") and short description
Click your project to config detail setting
Click Build Settings and modify the branch name "<Your Project's branch on GitHub>" => (ex: mqtt-bus) and click "Tirgger & Save Changes