Use COMPOSE var here
This commit is contained in:
		
							
								
								
									
										2
									
								
								abra
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								abra
									
									
									
									
									
								
							| @ -497,7 +497,7 @@ output_version_summary() { | ||||
|   echo "  Versions:" | ||||
|   IFS=':' read -ra COMPOSE_FILES <<< "$COMPOSE_FILE" | ||||
|   for COMPOSE in "${COMPOSE_FILES[@]}"; do | ||||
|     SERVICES=$($YQ e '.services | keys | .[]' "${APP_DIR}/${COMPOSE_FILE}") | ||||
|     SERVICES=$($YQ e '.services | keys | .[]' "${APP_DIR}/${COMPOSE}") | ||||
|     for SERVICE in $SERVICES; do | ||||
|       filter="{{index .Spec.Labels \"coop-cloud.$STACK_NAME.$SERVICE.version\" }}" | ||||
|       label=$(docker service inspect -f "$filter" "${STACK_NAME}_${SERVICE}" 2>/dev/null) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user