ci(docker): 将构建容器镜像从node切换为docker-in-docker
Build docker and publish / build (20.15.1) (push) Failing after 23s
Build docker and publish / build (20.15.1) (push) Failing after 23s
使用docker-in-docker镜像以提供更合适的构建环境,预装了必要的工具如Docker、curl和jq
This commit is contained in:
@@ -33,8 +33,8 @@ jobs:
|
||||
build:
|
||||
runs-on: ario-server
|
||||
container:
|
||||
# 使用包含 Docker、curl、jq、Node.js 的镜像
|
||||
image: cimg/node:20.15.1
|
||||
# 使用 Docker-in-Docker 镜像,预装 Docker、curl、jq
|
||||
image: docker:24-dind
|
||||
options: --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user