mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
update openim environment and status
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
parent
b2d684df6b
commit
4d63c72b13
29
.github/workflows/openimci.yml
vendored
29
.github/workflows/openimci.yml
vendored
@ -281,19 +281,20 @@ jobs:
|
|||||||
sudo make init
|
sudo make init
|
||||||
sudo make image
|
sudo make image
|
||||||
|
|
||||||
- name: Check the OpenIM environment and status
|
- name: Get Docker Images and Processes
|
||||||
|
id: docker_info
|
||||||
run: |
|
run: |
|
||||||
sudo echo "### Docker Images:" >> /tmp/out.txt
|
echo "::set-output name=images::$(sudo docker images)"
|
||||||
sudo docker images >> /tmp/out.txt
|
echo "::set-output name=processes::$(sudo docker ps)"
|
||||||
sudo echo "### Docker Processes:" >> /tmp/out.txt
|
- name: Comment PR with Docker Info
|
||||||
sudo docker ps >> /tmp/out.txt
|
uses: ./ # Replace with the appropriate action to comment on PR
|
||||||
|
|
||||||
- name: Read /tmp/out.txt
|
|
||||||
id: out
|
|
||||||
uses: juliangruber/read-file-action@v1
|
|
||||||
with:
|
with:
|
||||||
path: /tmp/out.txt
|
message: |
|
||||||
|
### Docker Images:
|
||||||
- name: Echo /tmp/out.txt
|
${{ steps.docker_info.outputs.images }}
|
||||||
run: |
|
### Docker Processes:
|
||||||
echo "${{ steps.out.outputs.content }}"
|
${{ steps.docker_info.outputs.processes }}
|
||||||
|
comment_tag: docker_info
|
||||||
|
reactions: eyes, rocket
|
||||||
|
mode: recreate
|
||||||
|
# Include any other steps as needed
|
||||||
Loading…
x
Reference in New Issue
Block a user