Skip to content

Commit

Permalink
Redirect docker logs
Browse files Browse the repository at this point in the history
  • Loading branch information
joernott committed Aug 8, 2024
1 parent 2060055 commit d1992a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_test_script/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ runs:
docker compose logs --tail=all >source/${{ inputs.path }}/${TESTDIR}/Output/docker-compose.log
for c in $(docker ps -aq); do
echo -e "\033[0;35m### Logs for $c ###\033[0m"
docker logs -n 2000 $c >source/${{ inputs.path }}/${TESTDIR}/Output/docker-$c.log
docker logs -n 2000 $c &>source/${{ inputs.path }}/${TESTDIR}/Output/docker-$c.log
done
- name: Upload artifact
Expand Down

0 comments on commit d1992a9

Please sign in to comment.