Add working directory to push.yml workflow and add shebang to image build script

This commit is contained in:
Jesus Garcia
2025-12-22 11:03:55 -05:00
parent a5fc8fd88c
commit 024bb8553a
2 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ jobs:
uses: actions/checkout@v4
- name: Build Wazuh images
run: build-docker-images/build-images.sh
run: ./build-images.sh
working-directory: ./build-docker-images
- name: Create enviroment variables
run: cat .env > $GITHUB_ENV
+5 -3
View File
@@ -1,6 +1,4 @@
IMAGE_TAG=4.14.3
WAZUH_CURRENT_VERSION=$(curl --silent https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '["]tag_name["]:' | sed -E 's/.*\"([^\"]+)\".*/\1/' | cut -c 2- | sed -e 's/\.//g')
WAZUH_REGISTRY=docker.io
#!/bin/bash
# Wazuh package generator
# Copyright (C) 2023, Wazuh Inc.
@@ -10,6 +8,10 @@ WAZUH_REGISTRY=docker.io
# License (version 2) as published by the FSF - Free Software
# Foundation.
IMAGE_TAG=4.14.3
WAZUH_CURRENT_VERSION=$(curl --silent https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '["]tag_name["]:' | sed -E 's/.*\"([^\"]+)\".*/\1/' | cut -c 2- | sed -e 's/\.//g')
WAZUH_REGISTRY=docker.io
WAZUH_IMAGE_VERSION="4.14.3"
WAZUH_TAG_REVISION="1"
WAZUH_DEV_STAGE=""