include secrets.mk
This commit is contained in:
		
							parent
							
								
									c6683de2b3
								
							
						
					
					
						commit
						4b9117f942
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		
							
								
								
									
										1
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ include make-deploy/k8s.mk
 | 
			
		|||
include make-deploy/cron.mk
 | 
			
		||||
 | 
			
		||||
include config.mk
 | 
			
		||||
include secrets.mk
 | 
			
		||||
 | 
			
		||||
self-update:
 | 
			
		||||
	@- git submodule update --remote
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -32,7 +32,11 @@ pull-compose:
 | 
			
		|||
	@- echo "\n### pulling image(s)"
 | 
			
		||||
	@- $(foreach ctx,$(DEPLOY_HOSTS), \
 | 
			
		||||
		docker context use $(ctx); \
 | 
			
		||||
		if [ $(DOCKER_LOGIN) == 'true' ] then docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) $(DOCKER_REGISTRY) fi; \
 | 
			
		||||
		docker context use $(ctx); \
 | 
			
		||||
		if test $(DOCKER_LOGIN) -eq 1 ; \
 | 
			
		||||
		then \
 | 
			
		||||
			docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) $(DOCKER_REGISTRY); \
 | 
			
		||||
		fi; \
 | 
			
		||||
		docker pull $(DOCKER_IMAGE); \
 | 
			
		||||
	)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue