Closed Veitor closed 4 years ago
ok. I have resolved after specify docker image tag.
image: lddsb/drone-dingtalk-message
change to
image: lddsb/drone-dingtalk-message:1.2.1
Does the latest version of the default should not include this feature?
hi,i get the error 'tpl file not exists'. the tpl file was location at root of the my project
hi,i get the error 'tpl file not exists'. the tpl file was location at root of the my project
我就直接跟你中文说了,省的麻烦了。 你这我也没遇到过,不过可能猜测有
ls
等命令查看一下CI环境中的文件里有没有你这个文件name: test-ci-notification
steps:
- name: notification
image: lddsb/drone-dingtalk-message
settings:
token:
from_secret: dingTalkToken
type: markdown
tpl: ./ci-notification.tpl
我的配置跟楼主一样,测试了一下, 放在项目跟目录的. 源码我也看了. 怀疑是 这个stop和 work 目录 不在同一个维度
name: test-ci-notification steps: - name: notification image: lddsb/drone-dingtalk-message settings: token: from_secret: dingTalkToken type: markdown tpl: ./ci-notification.tpl
我的配置跟楼主一样,测试了一下, 放在项目跟目录的. 源码我也看了. 怀疑是 这个stop和 work 目录 不在同一个维度
那你按我2楼的回复指定一个image tag吧,就指定我试的1.2.1
的,免得作者不知道改了什么而产生非预期的错误
name: test-ci-notification steps: - name: notification image: lddsb/drone-dingtalk-message settings: token: from_secret: dingTalkToken type: markdown tpl: ./ci-notification.tpl
我的配置跟楼主一样,测试了一下, 放在项目跟目录的. 源码我也看了. 怀疑是 这个stop和 work 目录 不在同一个维度
那你按我2楼的回复指定一个image tag吧,就指定我试的
1.2.1
的,免得作者不知道改了什么而产生非预期的错误
感谢耐心解答. 我测试时image加了版本号得.
my
.drone.yml
:and I put my
tpl
file namedci-notification.tpl
in git repository root directory. but message I received don't use my tpl content. Is mytpl
setting is wrong?