mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-01 12:33:47 +00:00
Fixed validation
This commit is contained in:
@@ -38,7 +38,7 @@ build() {
|
|||||||
|
|
||||||
if [ "${WAZUH_DEV_STAGE}" ];then
|
if [ "${WAZUH_DEV_STAGE}" ];then
|
||||||
FILEBEAT_TEMPLATE_BRANCH="v${FILEBEAT_TEMPLATE_BRANCH}-${WAZUH_DEV_STAGE,,}"
|
FILEBEAT_TEMPLATE_BRANCH="v${FILEBEAT_TEMPLATE_BRANCH}-${WAZUH_DEV_STAGE,,}"
|
||||||
if curl --output /dev/null --silent --head --fail "https://github.com/wazuh/wazuh/tree/${FILEBEAT_TEMPLATE_BRANCH}"; then
|
if ! curl --output /dev/null --silent --head --fail "https://github.com/wazuh/wazuh/tree/${FILEBEAT_TEMPLATE_BRANCH}"; then
|
||||||
echo "The indicated branch does not exist in the wazuh/wazuh repository: ${FILEBEAT_TEMPLATE_BRANCH}"
|
echo "The indicated branch does not exist in the wazuh/wazuh repository: ${FILEBEAT_TEMPLATE_BRANCH}"
|
||||||
clean 1
|
clean 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user