From 1e74bf75fd6c1c6547836f43687e5d24cad10bda Mon Sep 17 00:00:00 2001 From: catatsuy Date: Sun, 29 Dec 2024 17:21:29 +0900 Subject: [PATCH] Refactor docker run command for better readability in CI workflow. --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb8e5393..02f755ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,14 @@ jobs: continue-on-error: true run: | cd benchmarker - docker run --network host --add-host host.docker.internal:host-gateway -i private-isu-benchmarker /bin/benchmarker -t http://host.docker.internal -u /opt/userdata | tee benchmark_output.json || echo "BENCHMARK_FAILED=true" >> $GITHUB_ENV + docker run \ + --network host \ + --add-host host.docker.internal:host-gateway \ + -i private-isu-benchmarker \ + /bin/benchmarker \ + -t http://host.docker.internal \ + -u /opt/userdata \ + | tee benchmark_output.json || echo "BENCHMARK_FAILED=true" >> $GITHUB_ENV - name: Show logs run: |