From 24f157c05186b85f1e81bbe449e87b26869ea2bb Mon Sep 17 00:00:00 2001 From: hyh <2667004988@qq.com> Date: Wed, 22 May 2024 12:02:50 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=94=B9readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 643c972..098688b 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ docker run -itd --name qubic-cpu --restart=always \ docker run -itd --name qubic-gpu --gpus all --restart=always \ -e name=矿机名称 \ -e token="钱包地址" \ - itgpt/qubic-gpu:latest + itgpt/qubic-gpu:v1.9.7 ``` ## 卸载挖矿 From 844c80dd686476c43030ea9361416718f4b1b912 Mon Sep 17 00:00:00 2001 From: hyh <2667004988@qq.com> Date: Wed, 22 May 2024 12:23:42 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-cpu-docker-worker.yml | 11 +++++++---- .github/workflows/build-gpu-docker-worker.yml | 9 ++++++--- cpu-dockerfile | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-cpu-docker-worker.yml b/.github/workflows/build-cpu-docker-worker.yml index 1265e69..7972205 100644 --- a/.github/workflows/build-cpu-docker-worker.yml +++ b/.github/workflows/build-cpu-docker-worker.yml @@ -2,10 +2,13 @@ name: 构建cpu容器 on: push: - branches: - # 确保这是你正在使用的分支名称 - - main - + paths: + - 'cpu-dockerfile' # 监测指定的 Dockerfile 文件路径 + # push: + # branches: + # # 确保这是你正在使用的分支名称 + # - main + permissions: contents: write diff --git a/.github/workflows/build-gpu-docker-worker.yml b/.github/workflows/build-gpu-docker-worker.yml index 9040d0f..7140bfd 100644 --- a/.github/workflows/build-gpu-docker-worker.yml +++ b/.github/workflows/build-gpu-docker-worker.yml @@ -2,9 +2,12 @@ name: 构建gpu容器 on: push: - branches: - # 确保这是你正在使用的分支名称 - - main + paths: + - 'gpu-dockerfile' # 监测指定的 Dockerfile 文件路径 + # push: + # branches: + # # 确保这是你正在使用的分支名称 + # - main permissions: contents: write diff --git a/cpu-dockerfile b/cpu-dockerfile index b763396..66f559b 100644 --- a/cpu-dockerfile +++ b/cpu-dockerfile @@ -3,7 +3,7 @@ FROM nvidia/cuda:12.3.1-base-ubuntu22.04 USER root # 设置环境变量 -ARG version=1.8.7 +ARG version=1.9.7 ENV name="dockerworker" ENV num=1 ENV token="MUHHZYNAUSWPQAPQVEEDPWVOIQTBJBBZFAJKZURUGBAIKFAPHRUYPUMFGFEG"