From e92022e8307f21c2efeba370a1b74c2be5027eda Mon Sep 17 00:00:00 2001 From: Alec Reynolds Date: Mon, 20 Nov 2023 13:54:08 -0800 Subject: [PATCH] Docker logs debugging. --- .github/workflows/pr-legacy-php5-tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-legacy-php5-tests.yml b/.github/workflows/pr-legacy-php5-tests.yml index 52b2792..9a4b1cd 100644 --- a/.github/workflows/pr-legacy-php5-tests.yml +++ b/.github/workflows/pr-legacy-php5-tests.yml @@ -49,5 +49,8 @@ jobs: cleanup-header: "Destroy tests" shell: bash stdin: true - - name: Get Docker Log - run: docker logs landophp53_custom_nginx_1 + - name: Dump docker logs on failure + if: failure() + with: + images: 'landophp53_custom_nginx_1' + uses: jwalton/gh-docker-logs@v2