Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b222b802bf |
@@ -9,7 +9,7 @@ on:
|
|||||||
env:
|
env:
|
||||||
DOCKER_BUILDKIT: "1"
|
DOCKER_BUILDKIT: "1"
|
||||||
PRODUCT_NAME: "p2pool"
|
PRODUCT_NAME: "p2pool"
|
||||||
PACKAGE_VERSION: "v4.15"
|
PACKAGE_VERSION: "v4.15.1"
|
||||||
BUILDX_NO_DEFAULT_ATTESTATIONS: "1"
|
BUILDX_NO_DEFAULT_ATTESTATIONS: "1"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -48,14 +48,14 @@ sudo systemctl enable --now p2pool.service
|
|||||||
# Alpine 构建(推荐,体积更小)
|
# Alpine 构建(推荐,体积更小)
|
||||||
docker buildx build --pull \
|
docker buildx build --pull \
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
--build-arg P2POOL_VERSION=v4.15 \
|
--build-arg P2POOL_VERSION=v4.15.1 \
|
||||||
--output type=local,dest=./output \
|
--output type=local,dest=./output \
|
||||||
-f docker/Dockerfile.alpine .
|
-f docker/Dockerfile.alpine .
|
||||||
|
|
||||||
# Ubuntu 构建
|
# Ubuntu 构建
|
||||||
docker buildx build --pull \
|
docker buildx build --pull \
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
--build-arg P2POOL_VERSION=v4.15 \
|
--build-arg P2POOL_VERSION=v4.15.1 \
|
||||||
--output type=local,dest=./output \
|
--output type=local,dest=./output \
|
||||||
-f docker/Dockerfile.ubuntu .
|
-f docker/Dockerfile.ubuntu .
|
||||||
```
|
```
|
||||||
|
|||||||
Vendored
+1
-1
@@ -4,7 +4,7 @@ set -e
|
|||||||
# 参数检查
|
# 参数检查
|
||||||
if [ $# -ne 3 ]; then
|
if [ $# -ne 3 ]; then
|
||||||
echo "Usage: $0 <ARCH> <VERSION> <TARGZ_FILE>"
|
echo "Usage: $0 <ARCH> <VERSION> <TARGZ_FILE>"
|
||||||
echo "Example: $0 amd64 v4.15 p2pool-amd64-ubuntu-v4.15.tar.gz"
|
echo "Example: $0 amd64 v4.15.1 p2pool-amd64-ubuntu-v4.15.1.tar.gz"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user