lector-drone/.drone.yml
Henning Brinkmann 6e8259923f
Some checks failed
continuous-integration/drone/push Build is failing
print environment in step env
2021-04-24 23:43:11 +02:00

32 lines
692 B
YAML

---
kind: pipeline
type: docker
name: build_lektor
steps:
- name: env
image: docker:dind
environment:
DOCKER_USERNAME:
from_secret: "docker_username"
DOCKER_PASSWORD:
from_secret: "docker_password"
commands:
- env
- name: build
image: plugins/docker
settings:
repo: registry.wtf-eg.net/lektor
username:
from_secret: docker_username
password:
from_secret: docker_password
---
kind: secret
name: docker_username
data: 9cqHazxZJfr8E9+OO3JxSPtaE4dWgV9zyQtHkM6RWmZH
---
kind: secret
name: docker_password
data: YtT61Eb7iEizd6BTWBU5qaNv/K187KQ5ebK6QrUdZMvZYHEzLSzxfgw4ihGhBQVlukQ8llMGycviC74g/eMQkxY9zZo=