Using from_file and from_variable in plugins' settings


#1

Hi guys,

just wondering if it is possible to use from_file or from_variable from the settings of plugins, like it is done e.g. here:

steps:
- name:
  image: plugins/docker
  settings:
    repo: octocat/server
    tags: latest
    username:
      from_secret: username
    password:
      from_secret: password

There are some plugins that require large content to be passed in the settings, e.g. CI success message pattern.

Example of what I would like to have:

steps:
- name:
  image: plugins/telegram
  settings:
    message:
      from_file: .drone-telegram-message.md