diff --git a/.github/workflows/ci-test-custom-script.yml b/.github/workflows/ci-test-custom-script.yml index 925e4c85b7..ef8aea989e 100644 --- a/.github/workflows/ci-test-custom-script.yml +++ b/.github/workflows/ci-test-custom-script.yml @@ -441,7 +441,20 @@ jobs: name: server-logs-${{ matrix.job }} path: app/server/server-logs.log overwrite: true - + + - name: Collect docker log as file + if: always() + run: | + docker logs appsmith >& app/server/docker-logs.log + + - name: Upload server docker logs bundle on failure + uses: actions/upload-artifact@v4 + if: always() + with: + name: docker-logs-${{ matrix.job }} + path: app/server/docker-logs.log + overwrite: true + # Set status = success - name: Save the status of the run run: |