ci(docker): 更新构建容器镜像以包含 Node.js
Some checks failed
Build docker and publish / build (20.15.1) (push) Failing after 22s
Some checks failed
Build docker and publish / build (20.15.1) (push) Failing after 22s
使用 cimg/node:20.15.1 镜像替代 docker:24-dind,以便在构建环境中包含 Node.js 支持
This commit is contained in:
parent
1e24701bc5
commit
de792b03b9
@ -33,8 +33,8 @@ jobs:
|
||||
build:
|
||||
runs-on: ario-server
|
||||
container:
|
||||
# 使用 Docker-in-Docker 镜像,预装 Docker、curl、jq
|
||||
image: docker:24-dind
|
||||
# 使用包含 Docker、curl、jq、Node.js 的镜像
|
||||
image: cimg/node:20.15.1
|
||||
options: --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user