forked from wazuh/wazuh-docker
Add working directory to push.yml workflow and add shebang to image build script
This commit is contained in:
@@ -11,7 +11,8 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build Wazuh images
|
- name: Build Wazuh images
|
||||||
run: build-docker-images/build-images.sh
|
run: ./build-images.sh
|
||||||
|
working-directory: ./build-docker-images
|
||||||
|
|
||||||
- name: Create enviroment variables
|
- name: Create enviroment variables
|
||||||
run: cat .env > $GITHUB_ENV
|
run: cat .env > $GITHUB_ENV
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
IMAGE_TAG=4.14.3
|
#!/bin/bash
|
||||||
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 package generator
|
# Wazuh package generator
|
||||||
# Copyright (C) 2023, Wazuh Inc.
|
# Copyright (C) 2023, Wazuh Inc.
|
||||||
@@ -10,6 +8,10 @@ WAZUH_REGISTRY=docker.io
|
|||||||
# License (version 2) as published by the FSF - Free Software
|
# License (version 2) as published by the FSF - Free Software
|
||||||
# Foundation.
|
# 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_IMAGE_VERSION="4.14.3"
|
||||||
WAZUH_TAG_REVISION="1"
|
WAZUH_TAG_REVISION="1"
|
||||||
WAZUH_DEV_STAGE=""
|
WAZUH_DEV_STAGE=""
|
||||||
|
|||||||
Reference in New Issue
Block a user