mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-04 05:53:16 +00:00 
			
		
		
		
	change dashboard and indexer base repository
This commit is contained in:
		
				
					committed by
					
						
						Raul Del Pozo Moreno
					
				
			
			
				
	
			
			
			
						parent
						
							395b769b6a
						
					
				
				
					commit
					fd9c09a7e5
				
			@@ -1,4 +1,4 @@
 | 
			
		||||
REPOSITORY="packages.wazuh.com"
 | 
			
		||||
REPOSITORY="packages.wazuh.com/4.x"
 | 
			
		||||
WAZUH_CURRENT_VERSION=$(curl --silent https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '\"tag_name\":' | sed -E 's/.*\"([^\"]+)\".*/\1/' | cut -c 2-)
 | 
			
		||||
MAJOR_BUILD=$(echo $WAZUH_VERSION | cut -d. -f1)
 | 
			
		||||
MID_BUILD=$(echo $WAZUH_VERSION | cut -d. -f2)
 | 
			
		||||
 
 | 
			
		||||
@@ -22,7 +22,7 @@ export REPO_DIR=/unattended_installer
 | 
			
		||||
rm -rf ${INSTALLATION_DIR}/
 | 
			
		||||
 | 
			
		||||
## variables
 | 
			
		||||
REPOSITORY="packages.wazuh.com"
 | 
			
		||||
REPOSITORY="packages.wazuh.com/4.x"
 | 
			
		||||
WAZUH_CURRENT_VERSION=$(curl --silent https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '\"tag_name\":' | sed -E 's/.*\"([^\"]+)\".*/\1/' | cut -c 2-)
 | 
			
		||||
MAJOR_BUILD=$(echo $WAZUH_VERSION | cut -d. -f1)
 | 
			
		||||
MID_BUILD=$(echo $WAZUH_VERSION | cut -d. -f2)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user