From c5b707870d0f33e29ba30ff21ef85ba122ea6057 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Sat, 5 Aug 2023 11:56:56 +0800 Subject: [PATCH] fix: docker images version Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- .github/workflows/scripts-test.yml | 7 ++++++- Dockerfile | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts-test.yml b/.github/workflows/scripts-test.yml index 4266fa023..b4fc16778 100644 --- a/.github/workflows/scripts-test.yml +++ b/.github/workflows/scripts-test.yml @@ -50,23 +50,28 @@ jobs: - name: deploy all services run: | git clone -b release-v3.1 https://github.com/OpenIMSDK/Open-IM-Server.git openim && export openim=$(pwd)/openim && cd $openim + curl -o docker-compose.yaml https://gist.githubusercontent.com/cubxxw/b1d5cbd2edfa23fee911118aa3e8249e/raw/openim-chat.sh sudo docker compose up -d sudo sleep 60 sudo chmod +x ./scripts/stop_all.sh sudo ./scripts/stop_all.sh + sudo cat logs/openIM.log 2>/dev/null sudo chmod +x ./scripts/build_all_service.sh sudo ./scripts/build_all_service.sh + sudo cat logs/openIM.log 2>/dev/null sudo chmod +x ./scripts/start_all.sh sudo ./scripts/start_all.sh + sudo cat logs/openIM.log 2>/dev/null sudo chmod +x ./scripts/check_all.sh sudo ./scripts/check_all.sh + sudo cat logs/openIM.log 2>/dev/null echo "pwd = $(pwd)" cd .. - ls -al && pwd + ls -al && pwd shell: bash continue-on-error: true diff --git a/Dockerfile b/Dockerfile index 1df05d6ca..1e6b8f327 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ RUN /bin/sh -c "make clean" RUN /bin/sh -c "make build" # Build the runtime stage -FROM ghcr.io/openim-sigs/openim-bash-image:v1.3.0 +FROM ghcr.io/openim-sigs/openim-bash-image:latest WORKDIR ${CHAT_WORKDIR}