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

From ESS-WIKI
Jump to: navigation, search
Line 4: Line 4:
 
<pre>''0. Prepare your Dockerfile for your application''
 
<pre>''0. Prepare your Dockerfile for your application''
  
git clone <span style="color:#FF0000;">https://github.com/ADVANTECH-Corp/docker-igw-image-x86.git</span>
+
git clone https://github.com/ADVANTECH-Corp/docker-igw-image-x86.git
  
git branch <span style="color:#FF0000;">mqtt-bus</span>
+
git branch mqtt-bus
  
git check <span style="color:#FF0000;">mqtt-bus</span>
+
git check mqtt-bus
  
 
cp your Dockerfile into this folder
 
cp your Dockerfile into this folder
Line 16: Line 16:
 
git commit -am Dockerfile
 
git commit -am Dockerfile
  
git push -u origin <span style="color:#FF0000;">mqtt-bus</span></pre>
+
git push -u origin mqtt-bus</pre>
  
  

Revision as of 11:04, 29 November 2016

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


2.1 Create a auto build project on Docker Hub with GitHub

 Switch to "advigw4x86 

Advigw4x86 DockerHub GitHub dev1.jpg