pull file
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
This commit is contained in:
8
docker/build/buildAndPushImage_multiArch.ps1
Normal file
8
docker/build/buildAndPushImage_multiArch.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
echo "start to build"
|
||||
# https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
|
||||
# https://segmentfault.com/a/1190000021166703
|
||||
# linux/arm/v6,linux/riscv64,linux/s390x,linux/ppc64le,linux/386,,linux/arm/v7 偶发异常,待进一步测试
|
||||
echo "Start to build docker image with multi-arch"
|
||||
# $image="zai7lou/bilibili_tool_pro"
|
||||
# $version="0.0.5"
|
||||
docker buildx build --tag "zai7lou/bilibili_tool_pro:0.0.5" --tag "zai7lou/bilibili_tool_pro:latest" --output "type=image,push=true" --platform linux/amd64,linux/arm64 ../..
|
||||
Reference in New Issue
Block a user