From 6a25c2ef00f2f41f389c461a0cf9c56b47103234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Wed, 26 Feb 2025 12:36:38 +0800 Subject: [PATCH] 1 --- .github/workflows/services-test.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/services-test.yaml b/.github/workflows/services-test.yaml index 3e665f7..1285eb5 100644 --- a/.github/workflows/services-test.yaml +++ b/.github/workflows/services-test.yaml @@ -8,10 +8,11 @@ on: default: 'true' jobs: services-test: - runs-on: ubuntu-latest + runs-on: ubuntu-arm64 services: redissss: image: redis:alpine + options: --name redissss ports: - 6379:6379 steps: @@ -22,4 +23,16 @@ jobs: # 找出 redissss 的 container id REDIS_CONTAINER_ID=$(docker ps --filter "name=redissss" --format "{{.ID}}") echo $REDIS_CONTAINER_ID - docker exec $REDIS_CONTAINER_ID whoami \ No newline at end of file + docker exec $REDIS_CONTAINER_ID whoami + # kb-service-test: + # runs-on: ubuntu-arm64 + # services: + # kingbase: + # image: yanhao98/kingbase_v008r006c009b0014_single_arm:v1 + # options: --entrypoint bash -- + +# #!/bin/bash +# docker rm -f kingbase_tmp &>/dev/null || true +# docker run --quiet --entrypoint bash -itd --name kingbase_tmp --network host \ +# -e SYSTEM_PWD=kingbasees \ +# yanhao98/kingbase_v008r006c009b0014_single_arm:v1