forked from wazuh/wazuh-docker
Fixed tag validation
This commit is contained in:
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user