ci(docker): 将构建容器镜像从node切换为docker-in-docker
Some checks failed
Build docker and publish / build (20.15.1) (push) Failing after 23s
Some checks failed
Build docker and publish / build (20.15.1) (push) Failing after 23s
使用docker-in-docker镜像以提供更合适的构建环境,预装了必要的工具如Docker、curl和jq
This commit is contained in:
parent
b8756be3cc
commit
0f70a69877
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user