Files
best/.drone.yml

16 lines
509 B
YAML
Raw Permalink Normal View History

2025-11-09 22:49:24 +08:00
kind: pipeline
type: docker
name: test-custom-image
# 添加镜像拉取配置(私有镜像必填)
image_pull_secrets:
- DOCKER_USERNAME # Drone 中配置的密钥名称(对应阿里云账号)
- DOCKER_PASSWORD # Drone 中配置的密钥名称(对应阿里云仓库密码)
steps:
- name: test-custom-image-run
image: crpi-ekgonylne1eow2nq.cn-chengdu.personal.cr.aliyuncs.com/xinhaid/666:666
commands:
- echo "私有自定义镜像拉取成功!"
- # 其他命令...