Difference between revisions of "How to create a Auto Build project on DockerHub with GitHub"

From ESS-WIKI
Jump to: navigation, search
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" 
  
 GitHub: [https://github.com/ADVANTECH-Corp ADVANTECH-Corp]/'''[https://github.com/ADVANTECH-Corp/docker-igw-image-x86 docker-igw-image-x86]'''
+
Branch: mqtt-bus
<pre>''0. Prepare your Dockerfile for your application''
+
<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&nbsp;
 +
 +
[[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 

Advigw4x86 GitHub dev1.jpg

















Advigw4x86 GitHub dev2.jpg

Docker hub

Create a auto build project on Docker Hub with GitHub

 Switch to "advigw4x86 

Advigw4x86 DockerHub GitHub dev1.jpg


Create a Automated Build Project

Advigw4x86 DockerHub GitHub dev2.jpg

Select GitHub for Auto build source

Advigw4x86 DockerHub GitHub dev3.jpg

Select ADVANTECH-Corp "docker-igw-image-x86" project

Advigw4x86 DockerHub GitHub dev4.jpg


Enter your Project Name (ex: "mqtt-bus") and short description

Advigw4x86 DockerHub GitHub dev5.jpg


Click your project to config detail setting

Advigw4x86 DockerHub GitHub dev6.jpg


Click Build Settings and modify the branch name "<Your Project's branch on GitHub>" => (ex: mqtt-bus) and click "Tirgger & Save Changes

Advigw4x86 DockerHub GitHub dev8.jpg