Difference between revisions of "How to create a Auto Build project on DockerHub with GitHub"
From ESS-WIKI
Eric.liang (talk | contribs) |
Eric.liang (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | = GitHub = | ||
+ | |||
Example: "mqtt-bus" | Example: "mqtt-bus" | ||
Line 20: | Line 22: | ||
− | ''' | + | |
+ | |||
+ | = Docker hub = | ||
+ | |||
+ | '''Create a auto build project on Docker Hub with GitHub''' | ||
Switch to "advigw4x86 | Switch to "advigw4x86 | ||
[[File:Advigw4x86 DockerHub GitHub dev1.jpg|1500x550px|Advigw4x86 DockerHub GitHub dev1.jpg]] | [[File:Advigw4x86 DockerHub GitHub dev1.jpg|1500x550px|Advigw4x86 DockerHub GitHub dev1.jpg]] | ||
+ | |||
+ | |||
+ | |||
+ | Create a Automated Build Project | ||
+ | |||
+ | [[File:Advigw4x86 DockerHub GitHub dev2.jpg|1300x500px]] | ||
+ | |||
+ | Select GitHub for Auto build source | ||
+ | |||
+ | [[File:Advigw4x86 DockerHub GitHub dev3.jpg|1200x500px]] | ||
+ | |||
+ | Select ADVANTECH-Corp "docker-igw-image-x86" project | ||
+ | |||
+ | [[File:Advigw4x86 DockerHub GitHub dev4.jpg|1200x300px]] | ||
+ | |||
+ | |||
+ | |||
+ | Enter your Project Name (ex: "mqtt-bus") and short description | ||
+ | |||
+ | [[File:Advigw4x86 DockerHub GitHub dev5.jpg|800x300px]] | ||
+ | |||
+ | |||
+ | |||
+ | Click your project to config detail setting | ||
+ | |||
+ | [[File:Advigw4x86 DockerHub GitHub dev6.jpg|800x300px]] | ||
+ | |||
+ | |||
+ | |||
+ | Click Build Settings and modify the branch name "<Your Project's branch on GitHub>" => (ex: mqtt-bus) and click "Tirgger & Save Changes | ||
+ | |||
+ | [[File:Advigw4x86 DockerHub GitHub dev8.jpg|800x400px]] |
Revision as of 11:24, 29 November 2016
GitHub
Example: "mqtt-bus"
GitHub: ADVANTECH-Corp/docker-igw-image-x86
''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
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