Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aarz-snl authored Dec 18, 2023
1 parent 4c5b25a commit 3edc5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
end=$((SECONDS+120)) # Run for 2 minutes (120 seconds)
while [ $SECONDS -lt $end ]; do
KIBANA_CONTAINER=$(docker ps --filter "ancestor=docker.elastic.co/kibana/kibana:8.11.1" --format "{{.ID}}")
KIBANA_CONTAINER=$(docker ps | grep 'docker.elastic.co/kibana/kibana:8.11.1' | awk '{print $1}')
if [ ! -z "$KIBANA_CONTAINER" ]; then
echo "Fetching logs for Kibana Container: $KIBANA_CONTAINER at $(date)"
docker logs $KIBANA_CONTAINER
Expand Down

0 comments on commit 3edc5df

Please sign in to comment.