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
43c984f771
commit
4a0773cf74
21
.github/workflows/openimci.yml
vendored
21
.github/workflows/openimci.yml
vendored
@ -137,25 +137,24 @@ jobs:
|
|||||||
- name: Check the OpenIM environment and status
|
- name: Check the OpenIM environment and status
|
||||||
id: docker_info
|
id: docker_info
|
||||||
run: |
|
run: |
|
||||||
IMAGES=$(sudo docker images | base64 -w 0)
|
sudo docker images > docker_images.txt
|
||||||
CONTAINERS=$(sudo docker ps | base64 -w 0)
|
sudo docker ps > docker_containers.txt
|
||||||
echo "IMAGES=${IMAGES}" >> $GITHUB_ENV
|
IMAGES=$(cat docker_images.txt)
|
||||||
echo "CONTAINERS=${CONTAINERS}" >> $GITHUB_ENV
|
CONTAINERS=$(cat docker_containers.txt)
|
||||||
|
echo "::set-output name=images::$IMAGES"
|
||||||
|
echo "::set-output name=containers::$CONTAINERS"
|
||||||
|
|
||||||
- name: Comment PR
|
- name: Comment PR
|
||||||
uses: thollander/actions-comment-pull-request@v1
|
uses: thollander/actions-comment-pull-request@v2
|
||||||
env:
|
|
||||||
IMAGES: ${{ env.IMAGES }}
|
|
||||||
CONTAINERS: ${{ env.CONTAINERS }}
|
|
||||||
with:
|
with:
|
||||||
message: |
|
message: |
|
||||||
### Docker Images:
|
### Docker Images:
|
||||||
```
|
```
|
||||||
${{ env.IMAGES | base64 --decode }}
|
${{ steps.docker_info.outputs.images }}
|
||||||
```
|
```
|
||||||
### Docker Processes:
|
### Docker Processes:
|
||||||
```
|
```
|
||||||
${{ env.CONTAINERS | base64 --decode }}
|
${{ steps.docker_info.outputs.containers }}
|
||||||
```
|
```
|
||||||
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user