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 = | = GitHub = | ||
+ | |||
+ | Dockerfile for x86 iGW Project on GitHub: [https://github.com/ADVANTECH-Corp ADVANTECH-Corp]/'''[https://github.com/ADVANTECH-Corp/docker-igw-image-x86 docker-igw-image-x86]''' | ||
Example: "mqtt-bus" | Example: "mqtt-bus" | ||
− | + | Branch: mqtt-bus | |
− | <pre> | + | <pre>0. Prepare your Dockerfile for your application'' |
git clone https://github.com/ADVANTECH-Corp/docker-igw-image-x86.git | git clone https://github.com/ADVANTECH-Corp/docker-igw-image-x86.git | ||
Line 19: | Line 21: | ||
git push -u origin mqtt-bus</pre> | git push -u origin mqtt-bus</pre> | ||
+ | |||
+ | |||
+ | |||
+ | You cloud check GitHub | ||
+ | |||
+ | [[File:Advigw4x86 GitHub dev1.jpg|left|800x450px]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[File:Advigw4x86 GitHub dev2.jpg|800x500px]] | ||
= Docker hub = | = Docker hub = |
Revision as of 11:30, 29 November 2016
GitHub
Dockerfile for x86 iGW 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
You cloud check 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