Skip to content

Commit

Permalink
Update tool location paths
Browse files Browse the repository at this point in the history
  • Loading branch information
QU3B1M committed Dec 26, 2024
1 parent a091a15 commit da1a00f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-ecs-mappings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
export REPO_PATH=$(pwd)
for ecs_module in "${relevant_modules[@]}"; do
# Run the ECS generator script for each relevant module
bash docker/ecs/mapping-generator.sh run "$ecs_module"
bash ecs/generator/mapping-generator.sh run "$ecs_module"
echo "Processed ECS module: $ecs_module"
done
echo "relevant_modules=${relevant_modules[*]}" >> $GITHUB_ENV
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Tear down ECS Generator
if: always()
run: bash docker/ecs/mapping-generator.sh down
run: bash ecs/generator/mapping-generator.sh down

- name: Upload artifact
if: always()
Expand Down
2 changes: 1 addition & 1 deletion ecs/generator/mapping-generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function usage() {
}

function main() {
local compose_filename="docker/ecs/mapping-generator.yml"
local compose_filename="ecs/generator/mapping-generator.yml"
local compose_command
local module
local repo_path
Expand Down
2 changes: 1 addition & 1 deletion ecs/generator/mapping-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
container_name: wazuh-ecs-generator
build:
context: ./../..
dockerfile: ${REPO_PATH:-.}/docker/ecs/images/Dockerfile
dockerfile: ${REPO_PATH:-.}/ecs/generator/images/Dockerfile
volumes:
- ${REPO_PATH:-.}/ecs:/source/ecs
environment:
Expand Down

0 comments on commit da1a00f

Please sign in to comment.