From 77f33d9af78ad92a8c7c28f1c743a4e10b194c67 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong (cubxxw)" <3293172751nss@gmail.com> Date: Fri, 5 Jan 2024 21:44:55 +0800 Subject: [PATCH] fix openim config mongo passwd env Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com> --- .github/workflows/openimci.yml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/workflows/openimci.yml b/.github/workflows/openimci.yml index 6783ff842..dd8335ee8 100644 --- a/.github/workflows/openimci.yml +++ b/.github/workflows/openimci.yml @@ -279,24 +279,18 @@ jobs: run: | sudo make init sudo make image - sudo docker images > docker_build_images.txt - name: Check the OpenIM environment and status run: | - sudo docker images > docker_images.txt - sudo docker ps > docker_containers.txt - - - name: Comment Docker Images on PR - uses: thollander/actions-comment-pull-request@v2 - with: - message: | - ### Docker Images: - ``` - ${{ steps.read_file.outputs.docker_images }} - ``` - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + sudo echo "### Docker Images:" >> /tmp/out.txt + sudo docker images >> /tmp/out.txt + sudo echo "### Docker Processes:" >> /tmp/out.txt + sudo docker ps >> /tmp/out.txt - - id: read_file + - name: Read /tmp/out.txt + id: out uses: juliangruber/read-file-action@v1 with: - path: ./docker_images.txt + path: /tmp/out.txt + - name: Echo /tmp/out.txt + run: echo "${{ steps.out.outputs.content }}" \ No newline at end of file