From b2de585483ea5e435a48eea4bf253a9f39de8373 Mon Sep 17 00:00:00 2001 From: sangge <2251250136@qq.com> Date: Fri, 17 Nov 2023 09:32:56 +0800 Subject: [PATCH] feat: update ci --- .gitea/workflows/ci.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 99c706e..6095118 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -14,10 +14,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Set up Docker container - uses: addnab/docker-run-action@v3 - with: - image: git.mamahaha.work/sangge/tpre:base - options: -v .:/app # 将当前工作目录挂载到容器中 - run: | - python speed_test.py # 执行Python脚本 + - name: Run script in Docker container + run: | + docker run -v $PWD:/app git.mamahaha.work/sangge/tpre:base python speed_test.py