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 = | ||
− | + | '''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 | + | '''Branch''': mqtt-bus |
<pre>0. Prepare your Dockerfile for your application'' | <pre>0. Prepare your Dockerfile for your application'' | ||
Line 24: | Line 24: | ||
− | |||
− | |||
+ | '''Check on GitHub ''' | ||
+ | [[File:Advigw4x86 GitHub dev1.jpg|left|800x450px|Advigw4x86 GitHub dev1.jpg]] | ||
Line 60: | Line 60: | ||
− | [[File:Advigw4x86 GitHub dev2.jpg|800x500px]] | + | |
+ | |||
+ | [[File:Advigw4x86 GitHub dev2.jpg|800x500px|Advigw4x86 GitHub dev2.jpg]] | ||
= Docker hub = | = Docker hub = |
Revision as of 11:31, 29 November 2016
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