More precise matching for service names
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @ -32,9 +32,7 @@ output_versions(){ | ||||
| run_docker_cp() { | ||||
|   echo "--- start deploy ---" | ||||
|  | ||||
|   CONTAINER=$(docker -H "$REMOTE_DOCKER_HOST" container ls \ | ||||
|     --format "table {{.ID}},{{.Names}}" \ | ||||
|     | grep "${PLUGIN_SERVICE}" | cut -d',' -f1) | ||||
|   CONTAINER=$(docker -H "$REMOTE_DOCKER_HOST" container ls -q -f "name=/$PLUGIN_SERVICE") | ||||
|  | ||||
|   if [ -z "$CONTAINER" ]; then | ||||
|     echo "ERROR: can't find container for $PLUGIN_SERVICE" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user