mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-12-10 00:38:27 -06:00
Fixed tag validation
This commit is contained in:
parent
61dfe53a08
commit
e166d705c3
@ -160,6 +160,13 @@ main() {
|
|||||||
update_stage_in_files "${STAGE}"
|
update_stage_in_files "${STAGE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Update Docker images tag if tag is true
|
||||||
|
if [[ "${TAG}" == "true" ]]; then
|
||||||
|
echo "Updating Docker images tag to ${VERSION}-${STAGE}" | tee -a "${LOG_FILE}"
|
||||||
|
update_docker_images_tag "${VERSION}-${STAGE}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
echo "The following files were edited:" | tee -a "${LOG_FILE}"
|
echo "The following files were edited:" | tee -a "${LOG_FILE}"
|
||||||
for file in $(printf "%s\n" "${FILES_EDITED[@]}" | sort -u); do
|
for file in $(printf "%s\n" "${FILES_EDITED[@]}" | sort -u); do
|
||||||
echo "${file}" | tee -a "${LOG_FILE}"
|
echo "${file}" | tee -a "${LOG_FILE}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user