ci(.drone.yml): 更新 Node.js 22 CI 配置
Some checks failed
continuous-integration/drone/push Build is failing

- 添加 Docker 服务以支持容器化构建
- 设置 Docker 环境变量和权限
- 在构建前添加 docker info 命令进行调试
This commit is contained in:
lixin 2025-01-10 13:29:14 +08:00
parent 1460401f52
commit db726eefb1

View File

@ -1,7 +1,14 @@
kind: pipeline
type: docker
name: nodejs-22-docker-ci
#c
services:
- name: docker
image: docker:dind
environment:
DOCKER_TLS_CERTDIR: ""
privileged: true
steps:
- name: git-clone
image: alpine/git
@ -17,6 +24,7 @@ steps:
privileged: true
working_directory: automated_api
commands:
- docker info
- docker build -t rz/automated_api:latest -f Dockerfile .
- name: run-container