forked from an/flokati
		
	dockerbuild.sh added
This commit is contained in:
		
							parent
							
								
									5d2392bc5e
								
							
						
					
					
						commit
						acd39ed0af
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								dockerbuild.sh-dist
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								dockerbuild.sh-dist
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
VERSION=`git rev-parse --abbrev-ref HEAD`
 | 
			
		||||
BUILD=`git rev-list HEAD --count`
 | 
			
		||||
echo $VERSION-$BUILD
 | 
			
		||||
docker build -t dr.dnix.de/flokatirc:$VERSION-$BUILD -f Dockerfile .
 | 
			
		||||
docker push dr.dnix.de/flokatirc:$VERSION-$BUILD
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue