mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 19:02:31 +08:00
update openim environment and status
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
parent
4a0773cf74
commit
2009a0dcee
24
.github/workflows/openimci.yml
vendored
24
.github/workflows/openimci.yml
vendored
@ -137,12 +137,20 @@ jobs:
|
||||
- name: Check the OpenIM environment and status
|
||||
id: docker_info
|
||||
run: |
|
||||
sudo docker images > docker_images.txt
|
||||
sudo docker ps > docker_containers.txt
|
||||
IMAGES=$(cat docker_images.txt)
|
||||
CONTAINERS=$(cat docker_containers.txt)
|
||||
echo "::set-output name=images::$IMAGES"
|
||||
echo "::set-output name=containers::$CONTAINERS"
|
||||
sudo docker images > docker_images.txt
|
||||
sudo docker ps > docker_containers.txt
|
||||
|
||||
- name: Comment PR with message
|
||||
uses: ./
|
||||
id: nrt_message
|
||||
with:
|
||||
message: |
|
||||
Current branch is `${{ github.head_ref }}`.
|
||||
_(execution **${{ github.run_id }}** / attempt **${{ github.run_attempt }}**)_
|
||||
comment_tag: nrt_message
|
||||
reactions: eyes, rocket
|
||||
mode: recreate
|
||||
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||
|
||||
- name: Comment PR
|
||||
uses: thollander/actions-comment-pull-request@v2
|
||||
@ -150,11 +158,11 @@ jobs:
|
||||
message: |
|
||||
### Docker Images:
|
||||
```
|
||||
${{ steps.docker_info.outputs.images }}
|
||||
${{ readFile('docker_images.txt') }}
|
||||
```
|
||||
### Docker Processes:
|
||||
```
|
||||
${{ steps.docker_info.outputs.containers }}
|
||||
${{ readFile('docker_containers.txt') }}
|
||||
```
|
||||
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user