This commit is contained in:
15
.drone.yml
Normal file
15
.drone.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
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 "私有自定义镜像拉取成功!"
|
||||
- # 其他命令...
|
||||
Reference in New Issue
Block a user