mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-03 21:43:15 +00:00 
			
		
		
		
	Added exclude for cert tool image
This commit is contained in:
		@@ -78,7 +78,7 @@ update_stage_in_files() {
 | 
			
		||||
 | 
			
		||||
update_docker_images_tag() {
 | 
			
		||||
    local NEW_TAG="$1"
 | 
			
		||||
    local DOCKERFILES=( $(grep_command -E "wazuh/wazuh-[a-zA-Z0-9._-]*" "${DIR}") )
 | 
			
		||||
    local DOCKERFILES=( $(grep_command -E "wazuh/wazuh-[a-zA-Z0-9._-]*" "${DIR}" --exclude="indexer-certs-creator/README.md"  --exclude="generate-indexer-certs.yml") )
 | 
			
		||||
    for file in "${DOCKERFILES[@]}"; do
 | 
			
		||||
        sed -i -E "s/(wazuh\/wazuh-[a-zA-Z0-9._-]*):[a-zA-Z0-9._-]+/\1:${NEW_TAG}/g" "${file}"
 | 
			
		||||
        if [[ $(git diff --name-only "${file}") ]]; then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user