lector-drone/.drone.yml
Henning Brinkmann e16bd9b1df
Some checks failed
continuous-integration/drone/push Build is failing
is from_secret working? 2nd try
2021-04-18 23:16:02 +02:00

25 lines
539 B
YAML

---
kind: pipeline
type: docker
name: build_lektor
steps:
- name: env
image: busybox
environment:
DOCKER_USERNAME:
from_secret: docker_username
DOCKER_PASSWORD:
from_secret: "{{ docker_password | sha256 }}"
commands:
- echo $${DOCKER_USERNAME}
- echo $${DOCKER_PASSWORD} | sha256sum
- name: build
image: plugins/docker
settings:
repo: registry.wtf-eg.net/lektor
username:
from_secret: docker_username
password:
from_secret: docker_password