This commit is contained in:
hyh 2024-06-09 13:22:10 +08:00
commit 4f684ff210
4 changed files with 15 additions and 9 deletions

View File

@ -2,10 +2,13 @@ name: 构建cpu容器
on:
push:
branches:
# 确保这是你正在使用的分支名称
- main
paths:
- 'cpu-dockerfile' # 监测指定的 Dockerfile 文件路径
# push:
# branches:
# # 确保这是你正在使用的分支名称
# - main
permissions:
contents: write

View File

@ -2,9 +2,12 @@ name: 构建gpu容器
on:
push:
branches:
# 确保这是你正在使用的分支名称
- main
paths:
- 'gpu-dockerfile' # 监测指定的 Dockerfile 文件路径
# push:
# branches:
# # 确保这是你正在使用的分支名称
# - main
permissions:
contents: write

View File

@ -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
```
## 卸载挖矿

View File

@ -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"