From 27429bf9c530a4c2e5e2919442a9a80ea94a6e68 Mon Sep 17 00:00:00 2001 From: aceforeverd Date: Thu, 21 Sep 2023 18:40:03 +0800 Subject: [PATCH] fix --- .github/workflows/docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-compose.yml b/.github/workflows/docker-compose.yml index 821c1cd..d4ca33a 100644 --- a/.github/workflows/docker-compose.yml +++ b/.github/workflows/docker-compose.yml @@ -45,8 +45,8 @@ jobs: - name: ns internal log run: | - docker compose --file docker-compose.yml exec openmldb-ns1 cp -r /opt/openmldb/logs log-ns1-src/ - docker compose --file docker-compose.yml logs openmldb-ns2 cp -r /opt/openmldb/logs log-ns2-src/ + docker compose --file docker-compose.yml cp openmldb-ns1:/opt/openmldb/logs log-ns1-src/ + docker compose --file docker-compose.yml cp openmldb-ns2:/opt/openmldb/logs log-ns2-src/ - uses: actions/upload-artifact@v3 with: @@ -90,8 +90,8 @@ jobs: - name: ns internal log run: | - docker compose --file docker-compose.yml exec openmldb-ns1 cp -r /opt/openmldb/logs log-ns1-prod/ - docker compose --file docker-compose.yml logs openmldb-ns2 cp -r /opt/openmldb/logs log-ns2-prod/ + docker compose --file docker-compose.yml cp openmldb-ns1:/opt/openmldb/logs log-ns1-prod/ + docker compose --file docker-compose.yml cp openmldb-ns2:/opt/openmldb/logs log-ns2-prod/ - uses: actions/upload-artifact@v3 with: