Example pipeline:
kind: pipeline
name: default
type: docker
environment:
VAR1: foo
VAR2:
from_secret: super_secret_test
steps:
- name: check
image: python:3.8
commands:
...
Gives default: yaml: unmarshal errors: line 8: cannot unmarshal !!map into string
Environment: Drone 1.6.5 + Autoscaler 1.6.0 + Docker Runner 1.2.0, tried both project and organization secrets.
As per Gitter conversation the environment section is a map[string]string
and therefore does not support from_secret
syntax so I’m submitting a formal bug report/request for consideration.