start-swarm: restore docker ctx
This commit is contained in:
		
							parent
							
								
									ba7881eea4
								
							
						
					
					
						commit
						900c7825c1
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -47,6 +47,7 @@ start-swarm:
 | 
			
		|||
	@- $(foreach ctx,$(DEPLOY_HOSTS), \
 | 
			
		||||
		docker --context $(ctx) stack deploy -c stack.yml $(DEPLOY_NAME); \
 | 
			
		||||
	)
 | 
			
		||||
	@- docker context use $(stored_ctx)
 | 
			
		||||
 | 
			
		||||
stop-compose:
 | 
			
		||||
	@- echo "\n### stopping service(s)"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue