Fix makefile
This commit is contained in:
		
							parent
							
								
									7fc67804a8
								
							
						
					
					
						commit
						b1f6903c5e
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							| 
						 | 
					@ -7,6 +7,7 @@ all: build
 | 
				
			||||||
build:
 | 
					build:
 | 
				
			||||||
	$(DOCKER) pull debian:buster
 | 
						$(DOCKER) pull debian:buster
 | 
				
			||||||
	$(DOCKER) build -t ${REPO}:dev .
 | 
						$(DOCKER) build -t ${REPO}:dev .
 | 
				
			||||||
 | 
						$(DOCKER) tag ${REPO}:dev ${REPO}:$(VERSION)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test:
 | 
					test:
 | 
				
			||||||
	DOCKER=$(DOCKER) ./tests2.sh
 | 
						DOCKER=$(DOCKER) ./tests2.sh
 | 
				
			||||||
| 
						 | 
					@ -14,7 +15,7 @@ test:
 | 
				
			||||||
squashed:
 | 
					squashed:
 | 
				
			||||||
	$(DOCKER) pull debian:buster
 | 
						$(DOCKER) pull debian:buster
 | 
				
			||||||
	$(DOCKER) build --squash -t ${REPO}:dev-squashed .
 | 
						$(DOCKER) build --squash -t ${REPO}:dev-squashed .
 | 
				
			||||||
 | 
						$(DOCKER) tag ${REPO}:dev-squashed ${REPO}:$(VERSION)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
push: squashed
 | 
					push: squashed
 | 
				
			||||||
	$(DOCKER) tag ${REPO}:dev-squashed ${REPO}:$(VERSION)
 | 
					 | 
				
			||||||
	$(DOCKER) push ${REPO}:$(VERSION) 
 | 
						$(DOCKER) push ${REPO}:$(VERSION) 
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue