13 lines
		
	
	
		
			305 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			305 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
VERSION=1.4.0
 | 
						|
PROJECT=thingsboard
 | 
						|
APP=cassandra-setup
 | 
						|
 | 
						|
build:
 | 
						|
	cp ../../application/target/thingsboard.deb .
 | 
						|
	docker build --pull -t ${PROJECT}/${APP}:${VERSION} -t ${PROJECT}/${APP}:latest .
 | 
						|
	rm thingsboard.deb
 | 
						|
 | 
						|
push: build
 | 
						|
	docker push ${PROJECT}/${APP}:${VERSION}
 | 
						|
	docker push ${PROJECT}/${APP}:latest
 |